aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/views/InkingStroke.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/InkingStroke.tsx b/src/client/views/InkingStroke.tsx
index 634cb0dfd..90eb52dd2 100644
--- a/src/client/views/InkingStroke.tsx
+++ b/src/client/views/InkingStroke.tsx
@@ -124,13 +124,13 @@ export class InkingStroke extends ViewBoxBaseComponent<FieldViewProps, InkDocume
const inkDoc = this.props.Document;
- const overlayWidth = 5;
+ const overlayWidth = 3;
const screenOrigin = this.props.ScreenToLocalTransform().inverse().transformPoint(0, 0);
return <div className="inkstroke-UI" style={{
left: screenOrigin[0],
top: screenOrigin[1],
}} >
- {InteractionUtils.CreatePolyline(screenPts, screenLeft, screenTop, Colors.MEDIUM_BLUE, overlayWidth, overlayWidth,
+ {InteractionUtils.CreatePolyline(screenPts, screenLeft, screenTop, Colors.MEDIUM_BLUE, screenInkWidth[0], overlayWidth,
StrCast(inkDoc.strokeBezier), StrCast(inkDoc.fillColor, "none"),
StrCast(inkDoc.strokeStartMarker), StrCast(inkDoc.strokeEndMarker),
StrCast(inkDoc.strokeDash), inkScaleX, inkScaleY, "", "none", 1.0, false)}