This commit is contained in:
Infi
2024-05-28 14:23:31 +02:00
parent c5363769c2
commit 3a5dcae261
6 changed files with 40 additions and 13 deletions
+1 -1
View File
@@ -301,7 +301,7 @@ internal static class ImGuiUtil
public static void DrawArrows(ref int selected, int min, int max, float spacing, int id = 0)
{
// Prevents changing values from triggering EndDisable
var isMin = selected == 1;
var isMin = selected == min;
var isMax = selected == max;
ImGui.SameLine(0, spacing);