mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-13 01:58:30 +00:00
Added missing null-check while rendering groups
This commit is contained in:
parent
a3c1f5a684
commit
2678d3f56d
@ -93,7 +93,7 @@ namespace RGB.NET.Core
|
||||
IList<Led> leds = ledGroup.GetLeds().ToList();
|
||||
IBrush brush = ledGroup.Brush;
|
||||
|
||||
if (!brush.IsEnabled) return;
|
||||
if ((brush == null) || !brush.IsEnabled) return;
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user