misc:Refactor the WHAnimationHelper class structure to clearly define its responsibilities.
This commit is contained in:
@@ -1,17 +1,18 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Interactivity;
|
||||
using Ursa.Controls;
|
||||
using Ursa.Helpers;
|
||||
|
||||
namespace Ursa.Demo.Pages;
|
||||
|
||||
public partial class NavMenuDemo : UserControl
|
||||
{
|
||||
private readonly WHAnimationHelper _animationHelper;
|
||||
private readonly NavMenuAnimationHelper _animationHelper;
|
||||
|
||||
public NavMenuDemo()
|
||||
{
|
||||
InitializeComponent();
|
||||
_animationHelper = new WHAnimationHelper(menu, NavMenu.IsHorizontalCollapsedProperty);
|
||||
_animationHelper = new NavMenuAnimationHelper(menu);
|
||||
}
|
||||
|
||||
protected override void OnLoaded(RoutedEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user