Browse Source

Add DirtyRects.IsEmpty comment

IsEmpty is allowed to stay here because it is an internal API. Empty also makes sense when working with collections.
pull/9590/head
robloo 4 years ago
parent
commit
acfc66eeb1
  1. 3
      src/Avalonia.Base/Rendering/DirtyRects.cs

3
src/Avalonia.Base/Rendering/DirtyRects.cs

@ -10,6 +10,9 @@ namespace Avalonia.Rendering
{
private List<Rect> _rects = new List<Rect>();
/// <summary>
/// Gets a value indicating whether the collection of dirty rectangles is empty.
/// </summary>
public bool IsEmpty => _rects.Count == 0;
/// <summary>

Loading…
Cancel
Save