From c943322b1ba88d537cc541af73cceb3feacb4455 Mon Sep 17 00:00:00 2001 From: saint11 Date: Sun, 17 Nov 2024 21:41:13 -0800 Subject: [PATCH] flipped + and - --- src/Murder.Editor/CustomFields/CustomField.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Murder.Editor/CustomFields/CustomField.cs b/src/Murder.Editor/CustomFields/CustomField.cs index 95c7a526..981664cc 100644 --- a/src/Murder.Editor/CustomFields/CustomField.cs +++ b/src/Murder.Editor/CustomFields/CustomField.cs @@ -297,22 +297,22 @@ private static bool DrawFloat(EditorMember member, ref float number) ImGui.SameLine(); ImGui.SetCursorPosX(ImGui.GetCursorPosX() - 6); - if (ImGui.Button("+", new Vector2(14, 0))) + if (ImGui.Button("-", new Vector2(14, 0))) { - number++; + number--; changed = true; } + ImGui.EndGroup(); + ImGui.PopItemWidth(); + ImGui.SameLine(); ImGui.SetCursorPosX(ImGui.GetCursorPosX() - 6); - if (ImGui.Button("-", new Vector2(14,0))) + if (ImGui.Button("+", new Vector2(14, 0))) { - number--; + number++; changed = true; } - ImGui.EndGroup(); - ImGui.PopItemWidth(); - return changed; }