Added shortcut for fog toggle

This commit is contained in:
Mitchell McCaffrey 2020-08-07 14:10:37 +10:00
parent f19389fbc5
commit fd9659db98

View File

@ -44,6 +44,8 @@ function BrushToolSettings({
onSettingChange({ type: "remove" }); onSettingChange({ type: "remove" });
} else if (key === "s") { } else if (key === "s") {
onSettingChange({ useEdgeSnapping: !settings.useEdgeSnapping }); onSettingChange({ useEdgeSnapping: !settings.useEdgeSnapping });
} else if (key === "f") {
onSettingChange({ preview: !settings.preview });
} else if ( } else if (
(key === "z" || key === "Z") && (key === "z" || key === "Z") &&
(ctrlKey || metaKey) && (ctrlKey || metaKey) &&