This commit is contained in:
2026-02-14 16:09:39 +08:00
parent ec3a826e01
commit 1d46818eec
2 changed files with 1 additions and 8 deletions
+1 -6
View File
@@ -274,7 +274,7 @@
Margin="0,4,0,0" Margin="0,4,0,0"
FontSize="13" FontSize="13"
Foreground="{DynamicResource SettingsPageForeground}" Foreground="{DynamicResource SettingsPageForeground}"
Content="在主界面底部显示快速工具栏(计时器、点名等)" /> Content="启用快速面板(计时器、点名等)" />
</StackPanel> </StackPanel>
<!-- 步骤 6:快捷键设置(对应设置 → 快捷键设置) --> <!-- 步骤 6:快捷键设置(对应设置 → 快捷键设置) -->
@@ -403,11 +403,6 @@
FontSize="13" FontSize="13"
Foreground="{DynamicResource SettingsPageForeground}" Foreground="{DynamicResource SettingsPageForeground}"
Content="启用悬浮窗拦截(拦截希沃、鸿合等课堂软件的悬浮窗,避免遮挡画板)" /> Content="启用悬浮窗拦截(拦截希沃、鸿合等课堂软件的悬浮窗,避免遮挡画板)" />
<CheckBox x:Name="CheckBoxFloatingWindowInterceptorAutoStart"
Margin="0,4,0,0"
FontSize="13"
Foreground="{DynamicResource SettingsPageForeground}"
Content="悬浮窗拦截随软件启动自动开启" />
</StackPanel> </StackPanel>
<!-- 步骤 10:随机点名(对应设置 → 随机点名) --> <!-- 步骤 10:随机点名(对应设置 → 随机点名) -->
-2
View File
@@ -177,7 +177,6 @@ namespace Ink_Canvas.Windows
if (_settings.Automation.FloatingWindowInterceptor != null) if (_settings.Automation.FloatingWindowInterceptor != null)
{ {
CheckBoxFloatingWindowInterceptorEnabled.IsChecked = _settings.Automation.FloatingWindowInterceptor.IsEnabled; CheckBoxFloatingWindowInterceptorEnabled.IsChecked = _settings.Automation.FloatingWindowInterceptor.IsEnabled;
CheckBoxFloatingWindowInterceptorAutoStart.IsChecked = _settings.Automation.FloatingWindowInterceptor.AutoStart;
} }
} }
} }
@@ -366,7 +365,6 @@ namespace Ink_Canvas.Windows
if (_settings.Automation.FloatingWindowInterceptor != null) if (_settings.Automation.FloatingWindowInterceptor != null)
{ {
_settings.Automation.FloatingWindowInterceptor.IsEnabled = CheckBoxFloatingWindowInterceptorEnabled.IsChecked == true; _settings.Automation.FloatingWindowInterceptor.IsEnabled = CheckBoxFloatingWindowInterceptorEnabled.IsChecked == true;
_settings.Automation.FloatingWindowInterceptor.AutoStart = CheckBoxFloatingWindowInterceptorAutoStart.IsChecked == true;
} }
} }
} }