1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-13 10:08:31 +00:00

Fixed an issue with unchanched leds beeing flagged as dirty

This commit is contained in:
Darth Affe 2018-12-25 18:54:50 +01:00
parent 0813b8eeab
commit 2a3c13ef87

View File

@ -57,7 +57,7 @@ namespace RGB.NET.Core
/// <summary> /// <summary>
/// Indicates whether the <see cref="Led" /> is about to change it's color. /// Indicates whether the <see cref="Led" /> is about to change it's color.
/// </summary> /// </summary>
public bool IsDirty => RequestedColor.HasValue; public bool IsDirty => RequestedColor.HasValue && (RequestedColor != InternalColor);
private Color? _requestedColor; private Color? _requestedColor;
/// <summary> /// <summary>