From c0dcef4e1657036905cc2b6a808a0561332ea364 Mon Sep 17 00:00:00 2001 From: ocornut Date: Wed, 3 Aug 2016 21:02:27 +0200 Subject: [PATCH] Nav: Moving window with nav stick disables mouse hover (#323) --- imgui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/imgui.cpp b/imgui.cpp index 08c215e3..2efa6f89 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -2493,6 +2493,7 @@ static void NavUpdate() { const float move_speed = ImFloor(600 * g.IO.DeltaTime * ImMin(g.IO.DisplayFramebufferScale.x, g.IO.DisplayFramebufferScale.y)); g.NavWindowingTarget->PosFloat += move_delta * move_speed; + g.NavDisableMouseHover = true; MarkSettingsDirty(g.NavWindowingTarget); } }