diff options
author | bobzel <zzzman@gmail.com> | 2024-11-12 16:42:35 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-11-12 16:42:35 -0500 |
commit | 8680d1c31d4f835663c070f5b8cef57254e75e28 (patch) | |
tree | 1b38d983007b84f52354c96aae05f5ac98c6b6f6 /src/client/views/global/globalScripts.ts | |
parent | 6201fb8595729d049885d91278e990e49588f6f5 (diff) |
made equation background same as text. fixed dflt stroke/link width to both be 1. made function plot axis ranges get saved to Doc. marked equation->function links as being svgs. fixed initial size of equation boxes..
Diffstat (limited to 'src/client/views/global/globalScripts.ts')
-rw-r--r-- | src/client/views/global/globalScripts.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/global/globalScripts.ts b/src/client/views/global/globalScripts.ts index 5a17bc8f6..c632d6001 100644 --- a/src/client/views/global/globalScripts.ts +++ b/src/client/views/global/globalScripts.ts @@ -445,7 +445,7 @@ ScriptingGlobals.add(function setInkProperty(option: InkProperty, value: string setMode: () => SetactiveHideTextLabels(value? false : true), }], [ InkProperty.StrokeWidth, { - checkResult: () => (selected?._layout_isSvg ? NumCast(selected[DocData].stroke_width) : ActiveInkWidth()), + checkResult: () => (selected?._layout_isSvg ? NumCast(selected[DocData].stroke_width, 1) : ActiveInkWidth()), setInk: (doc: Doc) => { doc[DocData].stroke_width = NumCast(value); }, setMode: () => SetActiveInkWidth(value.toString()), }], |