mirror of
https://github.com/ocornut/imgui.git
synced 2026-10-20 19:08:56 +00:00
SliderScalar does not respect g.IO.ConfigMacOSXBehaviors #4084
Labels
No labels
accidentally closed
android
backends
bug
building
clipper
coloredit
color spaces
cplusplus
data types
demo
disabled
doc
docking
dpi
drag drop
drawing/drawlist
dropped
dx12
enhancement
focus
font/text
gallery
help wanted
idle/power saving
ime
in progress
inputs
inputtext
internals
label/id and id stack
language bindings
layout
linux/bsd
menus
multi-contexts
multi-threading
multi-viewports
nav
news/info
opengl
optimization
osx/ios
overlap
plot/graph
popups
question
scrolling
selection
settings
sliders/drags
style
tables/columns
tabs
test wanted
tools
tooltips
tree
tricks & tips
useful widgets
vulkan
web
window pos/depth
window sizing
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ocornut/imgui#4084
Loading…
Add table
Add a link
Reference in a new issue
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?
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::SliderScalararound 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
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.
Could you go through them mindfully to check what it most consistent with typical behavior?
Thank you!