From 5c2c80618b93f4db3bc2ed07d36a4287a72fb63f Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Mon, 18 Nov 2024 15:35:35 +0300 Subject: [PATCH] Fix duplicate triangles when selecting options. --- UnleashedRecomp/ui/options_menu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UnleashedRecomp/ui/options_menu.cpp b/UnleashedRecomp/ui/options_menu.cpp index 49013c37..6632c112 100644 --- a/UnleashedRecomp/ui/options_menu.cpp +++ b/UnleashedRecomp/ui/options_menu.cpp @@ -454,6 +454,8 @@ static bool g_downWasHeld; static void DrawConfigOptions() { + g_selectedItem = nullptr; + float gridSize = Scale(GRID_SIZE); float optionHeightWithPadding = gridSize * 6.0f; float yOffset = -g_firstVisibleRowIndex * optionHeightWithPadding;