add:墨迹自动保存

This commit is contained in:
CJK_mkp
2025-11-01 20:42:18 +08:00
parent 8394e99127
commit 0d790bbd80
6 changed files with 121 additions and 0 deletions
+24
View File
@@ -3083,6 +3083,30 @@
Toggled="ToggleSwitchAutoSaveStrokesAtScreenshot_Toggled" />
</ui:SimpleStackPanel>
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="定时自动保存墨迹" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnableAutoSaveStrokes" IsOn="False"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnableAutoSaveStrokes_Toggled" />
</ui:SimpleStackPanel>
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#a1a1aa" Text="保存间隔" VerticalAlignment="Center"
FontSize="12" Margin="0,0,16,0" />
<ComboBox Name="ComboBoxAutoSaveStrokesInterval" Width="120"
SelectionChanged="ComboBoxAutoSaveStrokesInterval_SelectionChanged">
<ComboBoxItem Content="1分钟" Tag="1" />
<ComboBoxItem Content="3分钟" Tag="3" />
<ComboBoxItem Content="5分钟" Tag="5" />
<ComboBoxItem Content="10分钟" Tag="10" />
<ComboBoxItem Content="15分钟" Tag="15" />
<ComboBoxItem Content="30分钟" Tag="30" />
<ComboBoxItem Content="60分钟" Tag="60" />
</ComboBox>
</ui:SimpleStackPanel>
<TextBlock Text="# 开启后将在设定时间间隔自动保存墨迹,仅在画布可见且有墨迹时才会保存" TextWrapping="Wrap" Foreground="#a1a1aa" />
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="墨迹全页面保存" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />