-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix menus and dropdowns requiring two clicks #101246
Conversation
I'm wondering, since it's easy to create side effects in this code, if conditions like that should be use instead.
Worst case scenario, the |
I tried and works, however i'll agree with Hilderin that |
Fixes some editor menus and option buttons requiring two clicks to open by checking status.pressed_down_with_focus separately from other press status flags. Makes all pressed statuses consistent on toggle buttons with ACTION_MODE_BUTTON_PRESSED.
Great suggestion, thanks. I've done exactly this. I've removed the special-case button-up signal for toggle buttons with |
Great!
I'm not sure it causes any issue right now. I suggest we wait for an actual bug report on this. I'll test a bit more your last commit but it looks good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test on a local build, everything in the editor and in the test project works fine.
Great job, thank you!
Thanks! |
Fixes #101214. Makes handling of all pressed status elements consistent on toggle buttons with
ACTION_MODE_BUTTON_PRESSED
.menufix_crop.mp4