From 55158f16ed075019cf0dc652f6d7eca8d0564ec1 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Thu, 18 May 2023 11:28:11 +0200 Subject: [PATCH] Make enable/disable transitions internal. --- src/Avalonia.Base/Animation/Animatable.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Avalonia.Base/Animation/Animatable.cs b/src/Avalonia.Base/Animation/Animatable.cs index 5208c8b218..98d4a71415 100644 --- a/src/Avalonia.Base/Animation/Animatable.cs +++ b/src/Avalonia.Base/Animation/Animatable.cs @@ -58,7 +58,7 @@ namespace Avalonia.Animation /// This method should not be called from user code, it will be called automatically by the framework /// when a control is added to the visual tree. /// - protected void EnableTransitions() + internal void EnableTransitions() { if (!_transitionsEnabled) { @@ -83,7 +83,7 @@ namespace Avalonia.Animation /// This method should not be called from user code, it will be called automatically by the framework /// when a control is removed from the visual tree. /// - protected void DisableTransitions() + internal void DisableTransitions() { if (_transitionsEnabled) {