Skip to content
Snippets Groups Projects
Verified Commit a8226b95 authored by dos's avatar dos
Browse files

py,st3m: Pressable: Fix "flickering" of .down property with repeat enabled

.down property was returning True only if the pressable was in DOWN state.
This leads to glitches, as because of key repeat it also goes through
REPEATED state while the pressable is being held, going against the
documented behavior. Fix this by considering both DOWN and REPEATED
states when evaluating the property.
parent 2ce81d0b
No related branches found
No related tags found
1 merge request!628py,st3m: Pressable: Fix "flickering" of .down property with repeat enabled
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment