Added fog subtraction tool

This commit is contained in:
Mitchell McCaffrey
2020-06-09 12:45:52 +10:00
parent 7cc0e6cee0
commit 9eaece24e5
7 changed files with 100 additions and 4 deletions
@@ -6,6 +6,7 @@ import RadioIconButton from "./RadioIconButton";
import GridSnappingToggle from "./GridSnappingToggle";
import FogAddIcon from "../../../icons/FogAddIcon";
import FogSubtractIcon from "../../../icons/FogSubtractIcon";
import FogRemoveIcon from "../../../icons/FogRemoveIcon";
import FogToggleIcon from "../../../icons/FogToggleIcon";
@@ -29,6 +30,13 @@ function BrushToolSettings({
>
<FogAddIcon />
</RadioIconButton>
<RadioIconButton
title="Subtract Fog"
onClick={() => onSettingChange({ type: "subtract" })}
isSelected={settings.type === "subtract"}
>
<FogSubtractIcon />
</RadioIconButton>
<RadioIconButton
title="Remove Fog"
onClick={() => onSettingChange({ type: "remove" })}