mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-12 02:00:58 +01:00
Nav: Moving window with nav stick disables mouse hover (#323)
This commit is contained in:
parent
4e91b521ee
commit
c0dcef4e16
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user