From b47bf6d00064d343ecbf3c72bc9728e6222086c0 Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Wed, 11 Jan 2023 18:59:53 -0800 Subject: [PATCH] fix clickable area around volume icon --- ui/widgets/auxcontrols.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/widgets/auxcontrols.go b/ui/widgets/auxcontrols.go index 11c96d0..e794068 100644 --- a/ui/widgets/auxcontrols.go +++ b/ui/widgets/auxcontrols.go @@ -108,7 +108,7 @@ func NewVolumeControl() *VolumeControl { v.slider.Orientation = widget.Horizontal v.slider.Value = 100 v.slider.OnChanged = v.onChanged - v.container = container.NewHBox(v.icon, v.slider) + v.container = container.NewHBox(container.NewCenter(v.icon), v.slider) return v }