You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When ImGuiMultiSelectFlags_SelectOnClickRelease is enabled, a selectable is selected on mouse released for the left botton, but on mouse clicked for the right button.
That's indeed the case. I forgot why right now but it was intended and seemed desirable at the time (I'll try to check my notes and tests).
Why it is a problem for you?
To clarify, that processing is automatically only enabled for Selectable in a multi-select context.
Application like Visual Studio or Windows Explorer also seems to process the right-click selection on mouse down (and menus appears on menu up).
There was another question related to similar code in #5816, but it's different from your question.
Version/Branch of Dear ImGui:
Version 1.91.6 WIP (19151), Branch: docking
Back-ends:
imgui_impl_dx12.cpp + imgui_impl_win32.cpp
Compiler, OS:
Windows11 + msvc2022
Full config/build information:
Details:
When ImGuiMultiSelectFlags_SelectOnClickRelease is enabled, a selectable is selected on mouse released for the left botton, but on mouse clicked for the right button.
Screenshots/Video:
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: