Adjust mode cancels itself if button is held down too long #3

Closed
opened 2024-08-20 17:56:39 +02:00 by Spencer Magnusson · 1 comment

I've noticed that, after I press an adjust mode button (like Shift+F for strength), if I hold the key for too long, it ends the adjust mode immediately. The modal is sensitive, and "any key to cancel" means holding the key for too long cancels it too (at https://projects.blender.org/SMagnusson/light-painter/src/branch/main/operators/base_tool.py#L312). Maybe just a check for event.value == PRESS in that if statement will do the trick, to prevent holding down the key being an issue.

I've noticed that, after I press an adjust mode button (like Shift+F for strength), if I hold the key for too long, it ends the adjust mode immediately. The modal is sensitive, and "any key to cancel" means holding the key for too long cancels it too (at https://projects.blender.org/SMagnusson/light-painter/src/branch/main/operators/base_tool.py#L312). Maybe just a check for `event.value == PRESS` in that if statement will do the trick, to prevent holding down the key being an issue.
Spencer Magnusson added the
bug
label 2024-08-20 17:56:39 +02:00
Author
Owner

Fixed in c2a38547e7

Fixed in c2a38547e72a6661cde8748e3743a29832fcc1a3
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SMagnusson/light-painter#3
No description provided.