feat: fix various issues.

This commit is contained in:
rabbitism
2024-02-26 01:33:58 +08:00
parent bd55c4539d
commit 4e793691d2
6 changed files with 15 additions and 16 deletions

View File

@@ -17,13 +17,13 @@ namespace Ursa.Controls
set { SetValue(IsActiveProperty, value); }
}
public static readonly StyledProperty<bool> LoadingProperty =
AvaloniaProperty.Register<Skeleton, bool>(nameof(Loading));
public static readonly StyledProperty<bool> IsLoadingProperty =
AvaloniaProperty.Register<Skeleton, bool>(nameof(IsLoading));
public bool Loading
public bool IsLoading
{
get => GetValue(LoadingProperty);
set => SetValue(LoadingProperty, value);
get => GetValue(IsLoadingProperty);
set => SetValue(IsLoadingProperty, value);
}
}
}