From 5edfa418d2d738f5c221c98bbfbdd87c4ed3a7f3 Mon Sep 17 00:00:00 2001 From: Henry Sloan Date: Tue, 20 Jul 2021 18:23:00 -0400 Subject: [PATCH] Enforce minimum number of n-gon sides --- client/web/src/components/widgets/options/ToolOptions.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/web/src/components/widgets/options/ToolOptions.vue b/client/web/src/components/widgets/options/ToolOptions.vue index 624a55e70c..7bfd0b0cad 100644 --- a/client/web/src/components/widgets/options/ToolOptions.vue +++ b/client/web/src/components/widgets/options/ToolOptions.vue @@ -7,7 +7,7 @@

{{ option.title }}

{{ option.placeholder_text }}

- + @@ -115,7 +115,7 @@ export default defineComponent({ { kind: "popover", title: "Boolean", placeholder_text: "More boolean-related buttons will be here" }, ], ], - ["Shape", [{ kind: "number", initial: 6, step: 1, callback: this.setToolSettings }]], + ["Shape", [{ kind: "number", initial: 6, step: 1, min: 3, callback: this.setToolSettings }]], ]), SeparatorType, };