chore: 减少屎山

This commit is contained in:
ZeroWolf233
2024-11-01 21:41:21 +08:00
parent 07ac34dafe
commit 6f1db2d079
@@ -4,7 +4,6 @@
PanBack.ScrollToHome()
PanScroll = PanBack '不知道为啥不能在 XAML 设置
PanLog.Visibility = If(ModeDebug, Visibility.Visible, Visibility.Collapsed)
AddHandler Me.KeyDown, AddressOf PressF5
'快照版提示
#If BETA Then
PanHint.Visibility = Visibility.Collapsed
@@ -27,7 +26,7 @@
''' <summary>
''' 刷新自定义主页。
''' </summary>
Private Sub PressF5(sender As Object, e As KeyEventArgs)
Private Sub PressF5(sender As Object, e As KeyEventArgs) Handles Me.KeyDown
If e.Key = Key.F5 Then
ForceRefresh()
End If