mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2026-11-11 13:06:24 +00:00
Fixed some more code issues
This commit is contained in:
1 parent
d741318462
commit
619b389f7d
5 files changed
+16
-6
No files matched your search
@@ -15,6 +15,9 @@ namespace CUE.NET.Groups
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
/// <summary>
|
||||
/// Gets the strongly-typed target used for the effect.
|
||||
/// </summary>
|
||||
protected override ILedGroup EffectTarget => this;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -98,6 +98,10 @@ namespace CUE.NET.Groups
|
||||
|
||||
#region Methods
|
||||
|
||||
/// <summary>
|
||||
/// Gets a list containing all LEDs of this group.
|
||||
/// </summary>
|
||||
/// <returns>The list containing all LEDs of this group.</returns>
|
||||
public override IEnumerable<CorsairLed> GetLeds()
|
||||
{
|
||||
return _ledCache ?? (_ledCache = Device.Where(x => RectangleHelper.CalculateIntersectPercentage(x.LedRectangle, Rectangle) >= MinOverlayPercentage).ToList());
|
||||
|
||||
Reference in new issue
Block a user