Commit eee78c9
committed
fix: also clear the SHOW_KEYBOARD latch in resetPressedKeys
showKeyboardPressed has the same lifetime as the screenshot combo state:
if the keyboard binding is held when a menu/editor steals focus, its
ACTION_UP is routed away and the latch stays true, so the next
SHOW_KEYBOARD press is ignored. Reset it alongside the combo state.
Addresses PR utkarshdalal#1627 review feedback.1 parent ac7f21f commit eee78c9
1 file changed
Lines changed: 5 additions & 3 deletions
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
103 | 104 | | |
104 | 105 | | |
105 | | - | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
| 109 | + | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| |||
0 commit comments