Browse Source

UI: Fix error color at clipping is not displayed on horizontal meter

Norihiro Kamae 1 year ago
parent
commit
6fed2c2bdd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UI/volume-control.cpp

+ 1 - 1
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; });