MultiSelect: Fix testing key mods from after the nav request (remove need to hold the mod longer)
This commit is contained in:
@@ -2123,6 +2123,7 @@ struct ImGuiContext
|
||||
bool MultiSelectEnabled;
|
||||
ImGuiMultiSelectFlags MultiSelectFlags;
|
||||
ImGuiMultiSelectState MultiSelectState; // We currently don't support recursing/stacking multi-select
|
||||
ImGuiKeyChord MultiSelectKeyMods;
|
||||
|
||||
// Render
|
||||
float DimBgRatio; // 0.0..1.0 animation when fading in a dimming background (for modal window and CTRL+TAB list)
|
||||
@@ -2389,6 +2390,7 @@ struct ImGuiContext
|
||||
|
||||
MultiSelectEnabled = false;
|
||||
MultiSelectFlags = ImGuiMultiSelectFlags_None;
|
||||
MultiSelectKeyMods = ImGuiMod_None;
|
||||
|
||||
DimBgRatio = 0.0f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user