diff options
| author | Stanley Yip <stanley_yip@brown.edu> | 2020-05-14 17:23:34 -0700 | 
|---|---|---|
| committer | Stanley Yip <stanley_yip@brown.edu> | 2020-05-14 17:23:34 -0700 | 
| commit | f23fde615bbeb98a93923eab1ee11c2230e67cd5 (patch) | |
| tree | a3f0744972ac2f35d995bd9a6c97543c78033436 /src/client/views/InkingStroke.tsx | |
| parent | b9440e34d89b28acacdd6eed2cda39cd2a1d8c46 (diff) | |
fixed colorbox and added width slider
Diffstat (limited to 'src/client/views/InkingStroke.tsx')
| -rw-r--r-- | src/client/views/InkingStroke.tsx | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/InkingStroke.tsx b/src/client/views/InkingStroke.tsx index 7a318d5c2..98b8371af 100644 --- a/src/client/views/InkingStroke.tsx +++ b/src/client/views/InkingStroke.tsx @@ -40,7 +40,7 @@ export class InkingStroke extends ViewBoxBaseComponent<FieldViewProps, InkDocume          const bottom = Math.max(...ys);          const points = InteractionUtils.CreatePolyline(data, left, top,              StrCast(this.layoutDoc.color, InkingControl.Instance.selectedColor), -            NumCast(this.layoutDoc.strokeWidth, parseInt(InkingControl.Instance.selectedWidth))); +            StrCast(this.layoutDoc.strokeWidth, InkingControl.Instance.selectedWidth));          const width = right - left;          const height = bottom - top;          const scaleX = this.props.PanelWidth() / width;  | 
