From 1151c929ca3b8a4469fd9fa9d0327d6a1d647b2f Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Thu, 30 Apr 2020 14:46:38 +0200 Subject: [PATCH] Seal OnPropertyChangedCore for now. It's only likely to be needed by transitions, and overriding it will break transitions. We can unseal later if there's a user need for it. --- src/Avalonia.Animation/Animatable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Animation/Animatable.cs b/src/Avalonia.Animation/Animatable.cs index eb94546969..31670454c9 100644 --- a/src/Avalonia.Animation/Animatable.cs +++ b/src/Avalonia.Animation/Animatable.cs @@ -116,7 +116,7 @@ namespace Avalonia.Animation } } - protected override void OnPropertyChangedCore(AvaloniaPropertyChangedEventArgs change) + protected sealed override void OnPropertyChangedCore(AvaloniaPropertyChangedEventArgs change) { if (_transitionsEnabled && _transitions is object &&