Skip to content

Commit

Permalink
Add: Show only 2 decimal places for ar/cs/od/hp
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotrekol committed Sep 23, 2018
1 parent 61bb66e commit a051e09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions GuiComponents/Controls/BeatmapListingView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ private void InitListView()
ListViewBeatmaps.UseNotifyPropertyChanged = true;
ListViewBeatmaps.ShowItemCountOnGroups = true;
ListViewBeatmaps.CellEditActivation = ObjectListView.CellEditActivateMode.DoubleClick;
var format = "{0:0.##}";
column_ar.AspectToStringFormat = format;
column_cs.AspectToStringFormat = format;
column_od.AspectToStringFormat = format;
column_hp.AspectToStringFormat = format;

column_stars.AspectGetter = rowObject =>
{
Expand Down

0 comments on commit a051e09

Please sign in to comment.