[BugFix] 切换页面时保存墨迹
This commit is contained in:
parent
4fde34ac20
commit
8d9ca9ae2a
@ -5575,7 +5575,10 @@ namespace Ink_Canvas
|
|||||||
private void BtnWhiteBoardSwitchNext_Click(object sender, EventArgs e)
|
private void BtnWhiteBoardSwitchNext_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (Settings.Automation.IsAutoSaveStrokesAtClear && inkCanvas.Strokes.Count > Settings.Automation.MinimumAutomationStrokeNumber)
|
if (Settings.Automation.IsAutoSaveStrokesAtClear && inkCanvas.Strokes.Count > Settings.Automation.MinimumAutomationStrokeNumber)
|
||||||
|
{
|
||||||
SaveScreenShot(true);
|
SaveScreenShot(true);
|
||||||
|
if (Settings.Automation.IsAutoSaveStrokesAtScreenshot) SaveInkCanvasStrokes(false);
|
||||||
|
}
|
||||||
if (CurrentWhiteboardIndex >= WhiteboardTotalCount)
|
if (CurrentWhiteboardIndex >= WhiteboardTotalCount)
|
||||||
{
|
{
|
||||||
BtnWhiteBoardAdd_Click(sender, e);
|
BtnWhiteBoardAdd_Click(sender, e);
|
||||||
@ -5596,7 +5599,10 @@ namespace Ink_Canvas
|
|||||||
{
|
{
|
||||||
if (WhiteboardTotalCount >= 99) return;
|
if (WhiteboardTotalCount >= 99) return;
|
||||||
if (Settings.Automation.IsAutoSaveStrokesAtClear && inkCanvas.Strokes.Count > Settings.Automation.MinimumAutomationStrokeNumber)
|
if (Settings.Automation.IsAutoSaveStrokesAtClear && inkCanvas.Strokes.Count > Settings.Automation.MinimumAutomationStrokeNumber)
|
||||||
|
{
|
||||||
SaveScreenShot(true);
|
SaveScreenShot(true);
|
||||||
|
if (Settings.Automation.IsAutoSaveStrokesAtScreenshot) SaveInkCanvasStrokes(false);
|
||||||
|
}
|
||||||
SaveStrokes();
|
SaveStrokes();
|
||||||
ClearStrokes(true);
|
ClearStrokes(true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user