Skip to content

Commit 39396c5

Browse files
committed
display minutes 60>0 correctly on clock
1 parent 2ca0802 commit 39396c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MaterialDesignThemes.Wpf/Clock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ private void GenerateButtons(Panel canvas, ICollection<int> range, IValueConvert
230230
button.SetBinding(Canvas.LeftProperty, GetBinding("X", button));
231231
button.SetBinding(Canvas.TopProperty, GetBinding("Y", button));
232232

233-
button.Content = i;
233+
button.Content = i == 60 ? 0 : i;
234234
canvas.Children.Add(button);
235235
}
236236
}

0 commit comments

Comments
 (0)