Fix redo shortcut on windows

This commit is contained in:
Mitchell McCaffrey 2020-06-28 16:00:44 +10:00
parent f4145b2f3b
commit e2abc9d182
2 changed files with 2 additions and 2 deletions

View File

@ -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")

View File

@ -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")