Commit f1a0e30c authored by David Fuhrmann's avatar David Fuhrmann Committed by Felix Paul Kühne

Only toggle the status label visibility if no animation is already pending

Fixes flickering especially when changing brightness.
Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <>
parent b01cfd90
......@@ -28,10 +28,11 @@
[self setFrame:selfFrame];
[self setNeedsDisplay];
[self _toggleVisibility:NO];
if (_displayTimer)
[_displayTimer invalidate];
[self _toggleVisibility:NO];
_displayTimer = [NSTimer scheduledTimerWithTimeInterval:1.5
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment