mirror of
https://github.com/DarthAffe/RGBSyncPlus
synced 2025-12-13 09:28:31 +00:00
Fixed SyncLed assignment in SyncBrush
This commit is contained in:
parent
fd662dcf34
commit
1707b8deed
@ -37,6 +37,9 @@ namespace RGBSyncPlus.Brushes
|
|||||||
|
|
||||||
protected override Color GetColorAtPoint(Rectangle rectangle, BrushRenderTarget renderTarget)
|
protected override Color GetColorAtPoint(Rectangle rectangle, BrushRenderTarget renderTarget)
|
||||||
{
|
{
|
||||||
|
if(_syncLed == null)
|
||||||
|
_syncLed = _syncGroup.SyncLed?.GetLed();
|
||||||
|
|
||||||
if (renderTarget.Led == _syncLed)
|
if (renderTarget.Led == _syncLed)
|
||||||
return Color.Transparent;
|
return Color.Transparent;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user