From eb65ebdc5ee98199c7af624341df46c1d0df81ba Mon Sep 17 00:00:00 2001 From: Ryan Foster Date: Wed, 17 Apr 2024 17:27:16 -0400 Subject: [PATCH] UI: Use System theme volume meter colors These comments do not actually match the color values here: * (0xff, 0xff, 0xff) is white * (0xcc, 0xcc, 0xcc) is light gray Instead of just fixing the comments, use the values from the System theme and also correct the comments. --- UI/volume-control.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/volume-control.cpp b/UI/volume-control.cpp index 88477300f..3d33edb0a 100644 --- a/UI/volume-control.cpp +++ b/UI/volume-control.cpp @@ -853,8 +853,8 @@ VolumeMeter::VolumeMeter(QWidget *parent, obs_volmeter_t *obs_volmeter, clipColor.setRgb(0xff, 0xff, 0xff); // Bright white magnitudeColor.setRgb(0x00, 0x00, 0x00); // Black - majorTickColor.setRgb(0xff, 0xff, 0xff); // Black - minorTickColor.setRgb(0xcc, 0xcc, 0xcc); // Black + majorTickColor.setRgb(0x00, 0x00, 0x00); // Black + minorTickColor.setRgb(0x32, 0x32, 0x32); // Dark gray minimumLevel = -60.0; // -60 dB warningLevel = -20.0; // -20 dB errorLevel = -9.0; // -9 dB