Properly handle pen tool undo and redo (#1587)

feat: properly handle pen tool undo and redo
This commit is contained in:
zhiyuan
2024-02-04 19:23:48 +00:00
committed by GitHub
parent aed30d78b8
commit 05b4582cd7
4 changed files with 45 additions and 1 deletions
+2
View File
@@ -126,6 +126,7 @@ pub enum ToolMessage {
},
DeactivateTools,
InitTools,
Redo,
RefreshToolOptions,
ResetColors,
SelectPrimaryColor {
@@ -136,6 +137,7 @@ pub enum ToolMessage {
color: Color,
},
SwapColors,
Undo,
UpdateCursor,
UpdateHints,
}