From a6a82571b25839840ca419210c21d6f6c0a062f5 Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Mon, 6 Jan 2025 19:19:59 -0800 Subject: [PATCH] bug fix and add infinity svg --- res/icons/publicdomain/infinity.svg | 4 ++++ ui/widgets/auxcontrols.go | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 res/icons/publicdomain/infinity.svg diff --git a/res/icons/publicdomain/infinity.svg b/res/icons/publicdomain/infinity.svg new file mode 100644 index 00000000..cb714116 --- /dev/null +++ b/res/icons/publicdomain/infinity.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/ui/widgets/auxcontrols.go b/ui/widgets/auxcontrols.go index b5f7a1d7..1074a195 100644 --- a/ui/widgets/auxcontrols.go +++ b/ui/widgets/auxcontrols.go @@ -37,7 +37,7 @@ func NewAuxControls(initialVolume int, initialLoopMode backend.LoopMode, initial } a.loop.IconSize = IconButtonSizeSmaller a.loop.SetToolTip(lang.L("Repeat")) - a.loop.Highlighted = initialAutoplay + a.autoplay.Highlighted = initialAutoplay //a.autoplay.IconSize = IconButtonSizeSmaller a.autoplay.SetToolTip(lang.L("Autoplay")) a.autoplay.OnTapped = func() {