Fix file browsers thumbnail selection with tablet failing, after recent changes.
This commit is contained in:
parent
4e92cc2759
commit
0b50ce1db4
Notes:
blender-bot
2023-02-14 06:37:09 +01:00
Referenced by issue #58423, UV Sculpt tools don't work
|
@ -3125,7 +3125,10 @@ void wm_event_do_handlers(bContext *C)
|
|||
|
||||
/* If press was handled, we don't want to do click. This way
|
||||
* press in tool keymap can override click in editor keymap.*/
|
||||
if (event->val == KM_PRESS && !wm_action_not_handled(action)) {
|
||||
if (ISMOUSE_BUTTON(event->type) &&
|
||||
event->val == KM_PRESS &&
|
||||
!wm_action_not_handled(action))
|
||||
{
|
||||
win->eventstate->check_click = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue