Browse Source

Merge branch 'feature/TabControlRework' of https://github.com/Gillibald/Avalonia into feature/TabControlRework

Benedikt Schroeder 7 years ago
parent
commit
6a3dbf2173
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Avalonia.Controls/Presenters/ItemVirtualizer.cs

+ 1 - 1
src/Avalonia.Controls/Presenters/ItemVirtualizer.cs

@@ -279,6 +279,6 @@ namespace Avalonia.Controls.Presenters
         /// <summary>
         /// Invalidates the current scroll.
         /// </summary>
-        protected void InvalidateScroll() => ((ILogicalScrollable)Owner).InvalidateScroll();
+        protected void InvalidateScroll() => ((ILogicalScrollable)Owner).InvalidateScroll?.Invoke();
     }
 }