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" });
} else if (key === "s") {
onSettingChange({ useEdgeSnapping: !settings.useEdgeSnapping });
} else if (key === "f") {
onSettingChange({ preview: !settings.preview });
} else if (
(key === "z" || key === "Z") &&
(ctrlKey || metaKey) &&