aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkingStroke.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-04-14 22:59:58 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-04-14 22:59:58 -0400
commitc6360fb4aed348f6f6a3c7412b6acc0d1990c239 (patch)
tree3018ea887b40bacac92a137206d5e5f5c34a12bd /src/client/views/InkingStroke.tsx
parent5fbee077873c3dd0a9b5939babbaa1fd4dfe1393 (diff)
parentc787b0eac374b4dabf6ede7ee40e77a28815d5c8 (diff)
merged with master
Diffstat (limited to 'src/client/views/InkingStroke.tsx')
-rw-r--r--src/client/views/InkingStroke.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/InkingStroke.tsx b/src/client/views/InkingStroke.tsx
index 615f8af7e..0f05da22c 100644
--- a/src/client/views/InkingStroke.tsx
+++ b/src/client/views/InkingStroke.tsx
@@ -41,7 +41,7 @@ export class InkingStroke extends React.Component<StrokeProps> {
fill: "none",
stroke: this._strokeColor,
strokeWidth: this._strokeWidth + "px",
- }
+ };
}
}
@@ -49,10 +49,10 @@ export class InkingStroke extends React.Component<StrokeProps> {
let pathStyle = this.createStyle();
let pathData = this.parseData(this.props.line);
- let pointerEvents: any = InkingControl.Instance.selectedTool == InkTool.Eraser ? "all" : "none";
+ let pointerEvents: any = InkingControl.Instance.selectedTool === InkTool.Eraser ? "all" : "none";
return (
<path d={pathData} style={{ ...pathStyle, pointerEvents: pointerEvents }} strokeLinejoin="round" strokeLinecap="round"
onPointerOver={this.deleteStroke} onPointerDown={this.deleteStroke} />
- )
+ );
}
} \ No newline at end of file