mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 20:15:32 +00:00
ImGuiFullscreen: Disable border animation when smooth scrolling is off
This commit is contained in:
parent
e03deb4928
commit
e17eaf77dd
@ -1052,7 +1052,7 @@ void ImGuiFullscreen::DrawMenuButtonFrame(const ImVec2& p_min, const ImVec2& p_m
|
||||
ImVec2 frame_max = p_max;
|
||||
|
||||
const ImGuiIO& io = ImGui::GetIO();
|
||||
if (io.NavVisible)
|
||||
if (s_smooth_scrolling && io.NavVisible)
|
||||
{
|
||||
if (!s_had_hovered_menu_item || io.MouseDelta.x != 0.0f || io.MouseDelta.y != 0.0f)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user