From 563eee276316097d11d0c3bc13b6917610053e4f Mon Sep 17 00:00:00 2001 From: geireann Date: Thu, 26 Aug 2021 13:49:18 -0400 Subject: changes --- src/client/views/nodes/button/FontIconBox.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/client/views/nodes/button') diff --git a/src/client/views/nodes/button/FontIconBox.tsx b/src/client/views/nodes/button/FontIconBox.tsx index 745a85b21..7b11791b5 100644 --- a/src/client/views/nodes/button/FontIconBox.tsx +++ b/src/client/views/nodes/button/FontIconBox.tsx @@ -336,7 +336,9 @@ export class FontIconBox extends DocComponent(Fon if (script === "setStrokeColor"){ stroke = true; const checkWidth = ScriptField.MakeScript("setStrokeWidth(0, true)")?.script.run().result; - strokeIcon = (
) + const width = 20 + (checkWidth / 100) * 70; + const height = 20 + (checkWidth / 100) * 70; + strokeIcon = (
) } const colorOptions: string[] = ['#D0021B', '#F5A623', '#F8E71C', '#8B572A', '#7ED321', '#417505', -- cgit v1.2.3-70-g09d2