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
The text was updated successfully, but these errors were encountered:
jkatsanis
changed the title
When you hover over a ImageButton or a Button and hold down left click the ImGui::IsWindowHovered returns false.
When you hover over a ImageButton or a Button and hold down left click the ImGui::IsWindowHovered function returns false.
Dec 24, 2022
This is intended as the desirable default behavior. activating an item inhibit hovering over other things by default. You can see the effect eg: other buttons are not highlighted while dragging from a first button. Same thing happens with windows.
If you look at the flags for IsWindowHovered() you will find among them various ways to disable those behaviors, eg:
ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 7, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns.
If you hover over a button and hold down right click it returns true this is why i think this is a issue. Here is example code
The text was updated successfully, but these errors were encountered: