mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 12:08:47 +02:00
IO: Added unused MultiSelectUsesSuperKey dummy field to convey semantic for OS X compatible behavior (#473)
This commit is contained in:
@ -790,9 +790,10 @@ ImGuiIO::ImGuiIO()
|
||||
|
||||
// Set OS X style defaults based on __APPLE__ compile time flag
|
||||
#ifdef __APPLE__
|
||||
WordMovementUsesAltKey = true; // Text editing cursor movement using Alt instead of Ctrl
|
||||
ShortcutsUseSuperKey = true; // Shortcuts using Cmd/Super instead of Ctrl
|
||||
DoubleClickSelectsWord = true; // Double click selects by word instead of selecting whole text
|
||||
WordMovementUsesAltKey = true; // OS X style: Text editing cursor movement using Alt instead of Ctrl
|
||||
ShortcutsUseSuperKey = true; // OS X style: Shortcuts using Cmd/Super instead of Ctrl
|
||||
DoubleClickSelectsWord = true; // OS X style: Double click selects by word instead of selecting whole text
|
||||
MultiSelectUsesSuperKey = true; // OS X style: Multi-selection in lists uses Cmd/Super instead of Ctrl
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user