-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Add up/down keys to inc/dec val in editor spin slider [3.x] #53090
Add up/down keys to inc/dec val in editor spin slider [3.x] #53090
Conversation
Any chance this can be merged since the 4.0 version already did? |
It needs an update to be in sync with what was merged in |
06b6e01
to
7ab6d6c
Compare
Wasn't sure if it was the case in 3.x since APPLE_STYLE_KEYS is used a lot more often than in 4.0. In any case, done and done. |
goes digging up macos virtual machine |
After testing, I've found the following:
I'll test on 4.0 next, since the functions may have changed, but at least in 3.x we need the apple_style_keys define, so I'll remake the change. Though if someone who is better versed in macos can let me know if I got those backwards, by all means. EDIT: I can't actually test on 4.0 with my current setup due to vulkan incompatibility. |
7ab6d6c
to
a8bcbf1
Compare
Back ported to 3.2.
a8bcbf1
to
d43a485
Compare
#ifdef APPLE_STYLE_KEYS | ||
} else if (k->get_metakey()) { | ||
#else | ||
} else if (k->get_alt()) { | ||
#endif |
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.
I'm surprised by your findings on get_alt()
vs get_metakey()
, that doesn't seem to match other APPLE_STYLE_KEYS
checks in the codebase.
But let's merge and see if any macOS user reports unexpected behavior.
Thanks! |
3.x backport for #41855 , since signal connections work differently between versions and this needed a classDB binding addition.