aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkingStroke.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-09-29 22:26:24 -0400
committerbobzel <zzzman@gmail.com>2021-09-29 22:26:24 -0400
commitb9adc2fec10d4509cd96558bb832f7c02bc70b25 (patch)
tree200b72a159614a5eaa76f118d977045f678f7887 /src/client/views/InkingStroke.tsx
parentc7121eb1756e04eafd6a74e665ef46ada655df5a (diff)
fixed breaking smoothness of closed curve at 0/last index. fixed highlighting closed curves.
Diffstat (limited to 'src/client/views/InkingStroke.tsx')
-rw-r--r--src/client/views/InkingStroke.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/InkingStroke.tsx b/src/client/views/InkingStroke.tsx
index 952af3019..552318e23 100644
--- a/src/client/views/InkingStroke.tsx
+++ b/src/client/views/InkingStroke.tsx
@@ -159,8 +159,7 @@ export class InkingStroke extends ViewBoxBaseComponent<FieldViewProps, InkDocume
}} >
{InteractionUtils.CreatePolyline(screenPts, 0, 0, Colors.MEDIUM_BLUE, screenInkWidth[0], screenSpaceCenterlineStrokeWidth,
StrCast(inkDoc.strokeLineJoin), StrCast(this.layoutDoc.strokeLineCap), StrCast(inkDoc.strokeBezier),
- !closed ? "none" : StrCast(this.layoutDoc.fillColor, "none"),
- startMarker, endMarker, StrCast(inkDoc.strokeDash), 1, 1, "", "none", 1.0, false)}
+ "none", startMarker, endMarker, StrCast(inkDoc.strokeDash), 1, 1, "", "none", 1.0, false)}
{!this._properties?._controlButton ? (null) :
<>
<InkControlPtHandles