minor formatting

This commit is contained in:
Drew Weymouth
2023-01-03 16:43:53 -08:00
parent e5c9920c12
commit f2268ca6f8
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -75,8 +75,8 @@ func NewPlayerControls() *PlayerControls {
pc.ExtendBaseWidget(pc)
pc.slider = NewTrackPosSlider()
pc.curTimeLabel = widget.NewLabel("0:00")
pc.totalTimeLabel = widget.NewLabel("0:00")
pc.curTimeLabel = widget.NewLabel(util.SecondsToTimeString(0))
pc.totalTimeLabel = widget.NewLabel(util.SecondsToTimeString(0))
pc.slider.OnChanged = func(f float64) {
time := f * pc.totalTime