1
0
mirror of https://github.com/DarthAffe/RGBSyncPlus synced 2025-12-12 17:08:31 +00:00

Fixed SyncLed assignment in SyncBrush

This commit is contained in:
Darth Affe 2018-07-10 20:09:43 +02:00
parent fd662dcf34
commit 1707b8deed

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;