mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-02-04 10:53:31 +00:00
DeviceVisualizer - don't check dirty unless necessary
This commit is contained in:
parent
06e6075c4d
commit
567ca193a4
@ -162,7 +162,7 @@ public class DeviceVisualizer : Control
|
|||||||
|
|
||||||
private void TimerOnTick(object? sender, EventArgs e)
|
private void TimerOnTick(object? sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (IsDirty() && ShowColors && IsVisible && Opacity > 0)
|
if (ShowColors && IsVisible && Opacity > 0 && IsDirty())
|
||||||
Update();
|
Update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user