1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-12 13:28:33 +00:00

DeviceVisualizer - don't check dirty unless necessary

This commit is contained in:
Diogo Trindade 2023-06-06 12:00:48 +01:00
parent 06e6075c4d
commit 567ca193a4

View File

@ -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();
}