Skip to content

Commit

Permalink
flipped + and -
Browse files Browse the repository at this point in the history
  • Loading branch information
saint11 committed Nov 18, 2024
1 parent bb0b02f commit c943322
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Murder.Editor/CustomFields/CustomField.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit c943322

Please sign in to comment.