Adjust mode cancels itself if button is held down too long #3
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SMagnusson/light-painter#3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.Fixed in
c2a38547e7