Browse Source

Fix another facepalm in ItemsRepeater.

`Measure` and `Arrange` were swapped.
Steven Kirk 6 years ago
parent
commit
e73a5a6357
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Avalonia.Controls/Repeater/ItemsRepeater.cs

+ 2 - 2
src/Avalonia.Controls/Repeater/ItemsRepeater.cs

@@ -707,9 +707,9 @@ namespace Avalonia.Controls
             }
         }
 
-        private void InvalidateArrangeForLayout(object sender, EventArgs e) => InvalidateMeasure();
+        private void InvalidateMeasureForLayout(object sender, EventArgs e) => InvalidateMeasure();
 
-        private void InvalidateMeasureForLayout(object sender, EventArgs e) => InvalidateArrange();
+        private void InvalidateArrangeForLayout(object sender, EventArgs e) => InvalidateArrange();
 
         private VirtualizingLayoutContext GetLayoutContext()
         {