Browse Source

EffectiveViewportChangedListeners must be reference type

Lubomir Tetak 3 years ago
parent
commit
22971f56cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Avalonia.Base/Layout/LayoutManager.cs

+ 1 - 1
src/Avalonia.Base/Layout/LayoutManager.cs

@@ -414,7 +414,7 @@ namespace Avalonia.Layout
             }
         }
 
-        private struct EffectiveViewportChangedListener
+        private class EffectiveViewportChangedListener
         {
             public EffectiveViewportChangedListener(ILayoutable listener, Rect viewport)
             {