Skip to content

Commit

Permalink
Merge pull request #4541 from tangge233/ModPageUIImprove
Browse files Browse the repository at this point in the history
优化:当有 Mod 选中时在下方空开一定空间方便操作
  • Loading branch information
LTCatt authored Aug 19, 2024
2 parents cfdda03 + 894b36e commit a509ac6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@
'更新显示状态
If AniControlEnabled = 0 Then
If Selected Then
PanListBack.Margin = New Thickness(0, 0, 0, 95)
'仅在数量增加时播放出现/跳跃动画
If ShownCount >= NewCount Then
ShownCount = NewCount
Expand All @@ -272,6 +273,7 @@
AaTranslateY(CardSelect, -1, 90, 270, Ease:=New AniEaseInoutFluent(AniEasePower.Weak))
}, "Mod Sidebar")
Else
PanListBack.Margin = New Thickness(0, 0, 0, 15)
'不重复播放隐藏动画
If ShownCount = 0 Then Return
ShownCount = 0
Expand Down

0 comments on commit a509ac6

Please sign in to comment.