From 632dec95b9fccccef13b50cb41fc598613a9df1e Mon Sep 17 00:00:00 2001 From: yunahi <60233430+yunahi@users.noreply.github.com> Date: Mon, 8 Jun 2020 10:56:36 +0900 Subject: added ink options menu --- src/client/views/nodes/ColorBox.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/client/views/nodes/ColorBox.tsx') diff --git a/src/client/views/nodes/ColorBox.tsx b/src/client/views/nodes/ColorBox.tsx index 6d53915ea..2ddf2c74a 100644 --- a/src/client/views/nodes/ColorBox.tsx +++ b/src/client/views/nodes/ColorBox.tsx @@ -28,8 +28,12 @@ export class ColorBox extends ViewBoxBaseComponent
-
{InkingControl.Instance.selectedWidth ?? 2}
+
{InkingControl.Instance.selectedWidth ?? 2}
) => InkingControl.Instance.switchWidth(e.target.value)} /> +
{InkingControl.Instance.selectedBezier ?? 2}
+ ) => InkingControl.Instance.switchBezier(e.target.value)} /> +
+
; } -- cgit v1.2.3-70-g09d2