mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-30 17:58:37 +08:00
UI: Fix error color at clipping is not displayed on horizontal meter
This commit is contained in:
committed by
Ryan Foster
parent
1dc87caea4
commit
6fed2c2bdd
@@ -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; });
|
||||
|
||||
Reference in New Issue
Block a user