Added shape drawing and more vector helper functions

This commit is contained in:
Mitchell McCaffrey
2020-04-27 21:39:21 +10:00
parent e08dc60f5f
commit 81f84d8a19
6 changed files with 278 additions and 62 deletions

View File

@@ -30,16 +30,16 @@ function ShapeToolSettings({ settings, onSettingChange }) {
<RadioIconButton
title="Shape Type Circle"
onClick={() => onSettingChange({ type: "circle" })}
isSelected={settings.type === "cricle"}
isSelected={settings.type === "circle"}
>
<ShapeTriangleIcon />
<ShapeCircleIcon />
</RadioIconButton>
<RadioIconButton
title="Shape Type Triangle"
onClick={() => onSettingChange({ type: "triangle" })}
isSelected={settings.type === "triangle"}
>
<ShapeCircleIcon />
<ShapeTriangleIcon />
</RadioIconButton>
<Divider vertical />
<AlphaBlendToggle