From 3645906067bef2eda2c18edd02524d4ba20030a7 Mon Sep 17 00:00:00 2001 From: CJK_mkp <113243675+CJKmkp@users.noreply.github.com> Date: Tue, 10 Jun 2025 17:33:46 +0800 Subject: [PATCH] try to fix:issue #13 --- Ink Canvas/MainWindow_cs/MW_FloatingBarIcons.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Ink Canvas/MainWindow_cs/MW_FloatingBarIcons.cs b/Ink Canvas/MainWindow_cs/MW_FloatingBarIcons.cs index 2dcfefff..61d5c7e4 100644 --- a/Ink Canvas/MainWindow_cs/MW_FloatingBarIcons.cs +++ b/Ink Canvas/MainWindow_cs/MW_FloatingBarIcons.cs @@ -501,7 +501,6 @@ namespace Ink_Canvas { Application.Current.Dispatcher.Invoke(() => { ViewboxFloatingBarMarginAnimation(60); }); })).Start(); - HideSubPanels(); if (GridTransparencyFakeBackground.Background == Brushes.Transparent) { if (currentMode == 1) @@ -514,6 +513,11 @@ namespace Ink_Canvas { } BtnHideInkCanvas_Click(BtnHideInkCanvas, null); + HideSubPanels(); + } + else + { + HideSubPanels(); } if (Settings.Gesture.AutoSwitchTwoFingerGesture) // 自动关闭多指书写、开启双指移动