mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-28 13:21:42 +00:00
Fix duplicate triangles when selecting options.
This commit is contained in:
parent
ab6ad299c2
commit
5c2c80618b
1 changed files with 2 additions and 0 deletions
|
|
@ -454,6 +454,8 @@ static bool g_downWasHeld;
|
||||||
|
|
||||||
static void DrawConfigOptions()
|
static void DrawConfigOptions()
|
||||||
{
|
{
|
||||||
|
g_selectedItem = nullptr;
|
||||||
|
|
||||||
float gridSize = Scale(GRID_SIZE);
|
float gridSize = Scale(GRID_SIZE);
|
||||||
float optionHeightWithPadding = gridSize * 6.0f;
|
float optionHeightWithPadding = gridSize * 6.0f;
|
||||||
float yOffset = -g_firstVisibleRowIndex * optionHeightWithPadding;
|
float yOffset = -g_firstVisibleRowIndex * optionHeightWithPadding;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue