From 6fed2c2bdda9450735d6d516cf04971fcb35a55b Mon Sep 17 00:00:00 2001 From: Norihiro Kamae Date: Wed, 28 Aug 2024 16:27:51 +0900 Subject: [PATCH] UI: Fix error color at clipping is not displayed on horizontal meter --- UI/volume-control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/volume-control.cpp b/UI/volume-control.cpp index 5d74e2c7a6cf99..325b4651474a99 100644 --- a/UI/volume-control.cpp +++ b/UI/volume-control.cpp @@ -1249,7 +1249,7 @@ void VolumeMeter::paintHMeter(QPainter &painter, int x, int y, int width, maximumPosition - peakPosition, height, muted ? backgroundErrorColorDisabled : backgroundErrorColor); - } else if (int(magnitude) != 0) { + } else { if (!clipping) { QTimer::singleShot(CLIP_FLASH_DURATION_MS, this, [&]() { clipping = false; });