From 1060fcc9131c52ffb9857f64e8a5d4db6ff6a57e Mon Sep 17 00:00:00 2001 From: sonninnos <45124675+sonninnos@users.noreply.github.com> Date: Sat, 21 Jan 2023 18:12:58 +0200 Subject: [PATCH] Show square sized widget on volume mute (#14884) --- gfx/widgets/gfx_widget_volume.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gfx/widgets/gfx_widget_volume.c b/gfx/widgets/gfx_widget_volume.c index 5b2461ab75..879ec0c206 100644 --- a/gfx/widgets/gfx_widget_volume.c +++ b/gfx/widgets/gfx_widget_volume.c @@ -175,7 +175,9 @@ static void gfx_widget_volume_frame(void* data, void *user_data) video_width, video_height, 0, 0, - state->widget_width, + (state->mute) + ? state->widget_height + : state->widget_width, state->widget_height, video_width, video_height,