fix:无焦点功能状态丢失
This commit is contained in:
@@ -50,6 +50,9 @@ namespace Ink_Canvas
|
||||
// 墨迹渐隐管理器
|
||||
private InkFadeManager _inkFadeManager;
|
||||
|
||||
// 设置面板相关状态
|
||||
private bool userChangedNoFocusModeInSettings;
|
||||
|
||||
|
||||
|
||||
#region Window Initialization
|
||||
@@ -1933,6 +1936,12 @@ namespace Ink_Canvas
|
||||
{
|
||||
ApplyAlwaysOnTop();
|
||||
}
|
||||
|
||||
// 如果当前在设置面板中,标记用户已修改无焦点模式设置
|
||||
if (BorderSettings.Visibility == Visibility.Visible)
|
||||
{
|
||||
userChangedNoFocusModeInSettings = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void ToggleSwitchAlwaysOnTop_Toggled(object sender, RoutedEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user