Fix redo shortcut on windows
This commit is contained in:
parent
f4145b2f3b
commit
e2abc9d182
@ -51,7 +51,7 @@ function DrawingToolSettings({
|
||||
} else if (key === "o") {
|
||||
onSettingChange({ useBlending: !settings.useBlending });
|
||||
} else if (
|
||||
key === "z" &&
|
||||
(key === "z" || key === "Z") &&
|
||||
(ctrlKey || metaKey) &&
|
||||
shiftKey &&
|
||||
!disabledActions.includes("redo")
|
||||
|
@ -44,7 +44,7 @@ function BrushToolSettings({
|
||||
} else if (key === "s") {
|
||||
onSettingChange({ useEdgeSnapping: !settings.useEdgeSnapping });
|
||||
} else if (
|
||||
key === "z" &&
|
||||
(key === "z" || key === "Z") &&
|
||||
(ctrlKey || metaKey) &&
|
||||
shiftKey &&
|
||||
!disabledActions.includes("redo")
|
||||
|
Loading…
Reference in New Issue
Block a user