mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 21:16:24 +00:00
Added missing null-check while rendering groups
This commit is contained in:
1 parent
a3c1f5a684
commit
2678d3f56d
1 file changed
+1
-1
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user