Fix duplicate triangles when selecting options.

This commit is contained in:
Skyth 2024-11-18 15:35:35 +03:00
parent ab6ad299c2
commit 5c2c80618b

View file

@ -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;