|
@@ -599,7 +599,7 @@ bool ImGui::ButtonBehavior(const ImRect& bb, ImGuiID id, bool* out_hovered, bool
|
|
|
|
|
|
// Gamepad/Keyboard navigation
|
|
|
// We report navigated item as hovered but we don't set g.HoveredId to not interfere with mouse.
|
|
|
- if (g.NavId == id && !g.NavDisableHighlight && g.NavDisableMouseHover && (g.ActiveId == 0 || g.ActiveId == id || g.ActiveId == window->MoveId))
|
|
|
+ if (g.NavId == id && !g.NavDisableHighlight && g.NavDisableMouseHover)
|
|
|
if (!(flags & ImGuiButtonFlags_NoHoveredOnFocus))
|
|
|
hovered = true;
|
|
|
if (g.NavActivateDownId == id)
|