mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
DeviceVisualizer - don't check dirty unless necessary
This commit is contained in:
1 parent
06e6075c4d
commit
567ca193a4
1 file changed
+1
-1
@@ -162,7 +162,7 @@ public class DeviceVisualizer : Control
|
||||
|
||||
private void TimerOnTick(object? sender, EventArgs e)
|
||||
{
|
||||
if (IsDirty() && ShowColors && IsVisible && Opacity > 0)
|
||||
if (ShowColors && IsVisible && Opacity > 0 && IsDirty())
|
||||
Update();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user