Skip to content

Commit

Permalink
[BugFix] 修复错误保存墨迹的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Raspberry-Monster committed Jun 3, 2024
1 parent 031079b commit 583339f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ink Canvas/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6586,7 +6586,7 @@ private void BtnScreenshot_Click(object sender, RoutedEventArgs e)
{
Application.Current.Dispatcher.Invoke(() =>
{
if (inkCanvas.Visibility != Visibility.Visible || inkCanvas.Strokes.Count == 0) return;
if (inkCanvas.Visibility != Visibility.Visible || inkCanvas.Strokes.Count == 0 || !Settings.Automation.IsAutoSaveStrokesAtScreenshot) return;
SaveInkCanvasStrokes(false);
});
}
Expand Down

0 comments on commit 583339f

Please sign in to comment.