mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-21 21:35:38 +00:00
ImGuiFullscreen: Disable border animation when smooth scrolling is off
This commit is contained in:
parent
294e8c9201
commit
51bee0982e
|
@ -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…
Reference in a new issue