Fix T76732: Error detecting modifier key clicks
At the time of checking, the previous type isn't the last key pressed.
This commit is contained in:
parent
fee46615f4
commit
9ebb3a386e
Notes:
blender-bot
2023-02-14 11:21:40 +01:00
Referenced by issue #76732, Alt+Scroll scrubbing activates Alt+ Viewport menu in some cases
|
@ -2952,7 +2952,7 @@ static int wm_handlers_do(bContext *C, wmEvent *event, ListBase *handlers)
|
|||
else {
|
||||
wmWindow *win = CTX_wm_window(C);
|
||||
if (win) {
|
||||
if (ISKEYMODIFIER(win->eventstate->prevtype)) {
|
||||
if (ISKEYMODIFIER(win->eventstate->type)) {
|
||||
win->eventstate->check_click = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue