-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
HoveredIdTimer doesn't increment on disabled items #3419
Comments
Hello, FYI i have renamed the topic has this technically doesn't have anything to do with But somehow the way I think we should change the code to fill |
…to function. (#211, #3419) + Menus: fix hovering a disabled menu or menu item not closing other menus. Rework of rokups@c24b470 Note that the declared intent of that commit "Prevents window from being dragged if mouse hovers a disabled item." was already fullfilled by a876ad8. Changes in ButtonBehavior() not needed anymore since ImGuiButtonFlags_Disabled is gone
This is now fixed by 5dd1e38. |
Version/Branch of Dear ImGui:
Version: 1.77
Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_glfw.cpp + imgui_impl_opengl3.cpp
Operating System: Win10
My Issue/Question:
For #1940, there was the new
ImGuiHoveredFlags_AllowWhenDisabled
added. That works very well to allow feedback on disabled buttons etc. Unrelated to that, in #1485 there was a way posted to implement delayed tooltips by usingGImGui->HoveredIdTimer
. However thatHoveredIdTimer
does not increment with disabled Buttons.I'm not 100% sure that it is supposed to, although it seems reasonable.
Standalone, minimal, complete and verifiable example:
The text was updated successfully, but these errors were encountered: