Skip to content

Commit

Permalink
Add conditional formatting to SpinBox buttons text (#5511)
Browse files Browse the repository at this point in the history
  • Loading branch information
FluffMe authored Nov 12, 2024
1 parent f812dc4 commit d724c5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Robust.Client/UserInterface/Controls/SpinBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ public void SetButtons(List<int> leftButtons, List<int> rightButtons)
ClearButtons();
foreach (var num in leftButtons)
{
AddLeftButton(num, num.ToString());
AddLeftButton(num, num.ToString("+#;-#;0"));
}
foreach (var num in rightButtons)
{
AddRightButton(num, num.ToString());
AddRightButton(num, num.ToString("+#;-#;0"));
}
}

Expand Down

0 comments on commit d724c5b

Please sign in to comment.