Skip to content

Commit

Permalink
修复了角色头像不更新的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
natsurainko committed Feb 3, 2025
1 parent 2515d79 commit 58e6da9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
AllowDrop="True"
Background="Transparent"
Spacing="10">
<StackPanel.ChildrenTransitions>
<EntranceThemeTransition FromVerticalOffset="50" />
<RepositionThemeTransition IsStaggeringEnabled="False" />
</StackPanel.ChildrenTransitions>

<i:Interaction.Behaviors>
<core:EventTriggerBehavior EventName="DragEnter">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ private async Task RenderAvatar()
{
_ = _cacheSkinService.CacheSkinOfAccount(Account);
ProgressRing.IsActive = false;

BackgroundLayout.Source = null;
ForegroundLayout.Source = null;
return;
}

Expand Down

0 comments on commit 58e6da9

Please sign in to comment.