-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
SliderScalar does not respect g.IO.ConfigMacOSXBehaviors #4084
Comments
Hello, Sorry for my late answer on this.
I think we'd first need to list one by one which behavior would want Super vs which would want CTRL. I imagine there are valid uses for CTRL on Mac.
Thank you! |
Linking to #2343 i am going to try tackling both of those together soon. |
Filling in list above as I booted my shiny Mac:
|
This is now fixed by 7747106, as well as all items listed above. |
Thanks, I see that I overlooked your comment from 2022 :-/ apologies. Yeah, in overall this is exactly what we need :) Thank you for this fix! |
Version/Branch of Dear ImGui:
Version: 1.82
Branch: master/docking
My Issue/Question:
SliderScalar does not respect
g.IO.ConfigMacOSXBehaviors
, thus to enter value one needs to do mouse click with CTRL key, but should be SUPER key. The fix is simple, needs to add check toImGui::SliderScalar
around line 2956 ofimgui_widgets.cpp
. For example like this:In overall it seems it would be better to wrap this into some generic behavior and globally define what is "CTRL" key.
Standalone, minimal, complete and verifiable example: just please use the imgui demo
The text was updated successfully, but these errors were encountered: