Skip to content

Commit

Permalink
chore: 逻辑小优化
Browse files Browse the repository at this point in the history
  • Loading branch information
tangge233 committed Oct 18, 2024
1 parent 74ac8be commit ae2f662
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<local:MyScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled" x:Name="PanBack">
<Grid x:Name="PanContent">
<StackPanel Orientation="Vertical" Margin="25">
<StackPanel>
<StackPanel x:Name="PanContentList">
<local:MySearchBox HintText="搜索收藏夹内容" x:Name="PanSearchBox" Margin="0,0,0,15"/>
<local:MyHint Text="部分资源在线信息获取失败,当前收藏夹内容可能不齐全。" IsWarn="True" Margin="0,0,0,15" x:Name="HintGetFail" Visibility="Collapsed"/>
<local:MyCard x:Name="CardProjectsMod" Title="Mod" IsSwaped="True" CanSwap="True" Margin="0,0,0,15">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
If Selected Then LabSelect.Text = $"已选择 {NewCount} 个收藏项目" '取消所有选择时不更新数字
'更新显示状态
If AniControlEnabled = 0 Then
CardProjectsModpack.Margin = New Thickness(0, 0, 0, If(Selected, 95, 15))
PanContentList.Margin = New Thickness(0, 0, 0, If(Selected, 80, 0))
If Selected Then
'仅在数量增加时播放出现/跳跃动画
If BottomBarShownCount >= NewCount Then
Expand Down

0 comments on commit ae2f662

Please sign in to comment.