From 962ac4abbc81dd427da9e69049d2c4029da5b5d6 Mon Sep 17 00:00:00 2001 From: Matt Gajownik Date: Sat, 21 Mar 2020 23:25:23 +1100 Subject: [PATCH] UI: Don't clip meters when resizing with no input --- 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 c491a6fff..d514b7584 100644 --- a/UI/volume-control.cpp +++ b/UI/volume-control.cpp @@ -875,7 +875,7 @@ void VolumeMeter::paintHMeter(QPainter &painter, int x, int y, int width, painter.fillRect(peakPosition, y, maximumPosition - peakPosition, height, backgroundErrorColor); - } else { + } else if (int(magnitude) != 0) { if (!clipping) { QTimer::singleShot(CLIP_FLASH_DURATION_MS, this, SLOT(ClipEnding()));