mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2025-12-12 08:48:30 +00:00
Fixed possible cache-issue in the RectangleKeyGroup
This commit is contained in:
parent
8a5581c660
commit
92fcbcff2a
@ -18,7 +18,7 @@ namespace CUE.NET.Groups
|
|||||||
public class RectangleLedGroup : AbstractLedGroup
|
public class RectangleLedGroup : AbstractLedGroup
|
||||||
{
|
{
|
||||||
#region Properties & Fields
|
#region Properties & Fields
|
||||||
|
|
||||||
private IList<CorsairLed> _ledCache;
|
private IList<CorsairLed> _ledCache;
|
||||||
|
|
||||||
private RectangleF _rectangle;
|
private RectangleF _rectangle;
|
||||||
@ -35,10 +35,19 @@ namespace CUE.NET.Groups
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private float _minOverlayPercentage;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the minimal percentage overlay a LED must have with the <see cref="Rectangle" /> to be taken into the ledgroup.
|
/// Gets or sets the minimal percentage overlay a LED must have with the <see cref="Rectangle" /> to be taken into the ledgroup.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public float MinOverlayPercentage { get; set; }
|
public float MinOverlayPercentage
|
||||||
|
{
|
||||||
|
get { return _minOverlayPercentage; }
|
||||||
|
set
|
||||||
|
{
|
||||||
|
_minOverlayPercentage = value;
|
||||||
|
_ledCache = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user