From 22971f56cb3eabc56d87d94ac8059aed78977aab Mon Sep 17 00:00:00 2001 From: Lubomir Tetak Date: Thu, 7 Jul 2022 10:20:30 +0200 Subject: [PATCH] EffectiveViewportChangedListeners must be reference type --- src/Avalonia.Base/Layout/LayoutManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Base/Layout/LayoutManager.cs b/src/Avalonia.Base/Layout/LayoutManager.cs index 91358adc05..b9ca6bfbd7 100644 --- a/src/Avalonia.Base/Layout/LayoutManager.cs +++ b/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) {