Fixed SyncLed assignment in SyncBrush

This commit is contained in:
DarthAffe committed 2018-07-10 20:09:43 +02:00
1 parent fd662dcf34
commit 1707b8deed
1 file changed
+3
+3
View File
@@ -37,6 +37,9 @@ namespace RGBSyncPlus.Brushes
protected override Color GetColorAtPoint(Rectangle rectangle, BrushRenderTarget renderTarget)
{
if(_syncLed == null)
_syncLed = _syncGroup.SyncLed?.GetLed();
if (renderTarget.Led == _syncLed)
return Color.Transparent;