mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-05 04:28:47 +02:00
Nav: Moving window with nav stick disables mouse hover (#323)
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user