diff options
| author | Fawn <fangrui_tong@brown.edu> | 2019-03-06 19:11:15 -0500 |
|---|---|---|
| committer | Fawn <fangrui_tong@brown.edu> | 2019-03-06 19:11:15 -0500 |
| commit | d8e05fd07702143737129d3cccabdd47c7122578 (patch) | |
| tree | 1bb30e86851edf27ff271b03c00854706412c7f4 /src | |
| parent | c6781458648c4265f2f995be526529be54312f54 (diff) | |
eraser works on click and drag
Diffstat (limited to 'src')
| -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 76ea7f084..bab9f3a60 100644 --- a/src/client/views/InkingStroke.tsx +++ b/src/client/views/InkingStroke.tsx @@ -60,7 +60,7 @@ export class InkingStroke extends React.Component<StrokeProps> { return ( <path className={(this._strokeTool === InkTool.Highlighter) ? "highlight" : ""} d={pathData} style={pathStyle} strokeLinejoin="round" strokeLinecap="round" - onMouseOver={this.deleteStroke} /> + onMouseOver={this.deleteStroke} onMouseDown={this.deleteStroke} /> ) } }
\ No newline at end of file |
