Browse Source

Merge remote-tracking branch 'origin/master' into fixes/enumerate-child-windows-before-closing

pull/5616/head
Dan Walmsley 5 years ago
parent
commit
0a9085ea3c
  1. 2
      src/Avalonia.Layout/ElementManager.cs

2
src/Avalonia.Layout/ElementManager.cs

@ -207,7 +207,7 @@ namespace Avalonia.Layout
} }
} }
public bool IsIndexValidInData(int currentIndex) => currentIndex >= 0 && currentIndex < _context.ItemCount; public bool IsIndexValidInData(int currentIndex) => (uint)currentIndex < _context.ItemCount;
public ILayoutable GetRealizedElement(int dataIndex) public ILayoutable GetRealizedElement(int dataIndex)
{ {

Loading…
Cancel
Save