diff options
| author | Stanley Yip <stanley_yip@brown.edu> | 2019-11-23 17:59:24 -0500 |
|---|---|---|
| committer | Stanley Yip <stanley_yip@brown.edu> | 2019-11-23 17:59:24 -0500 |
| commit | 494deb74c82443ef828cad4de57d0236ea72a0fa (patch) | |
| tree | ea50bb7602d1d6302fb5cd0ab66b2cd0efc596ad /src/client/views/InkingStroke.tsx | |
| parent | 80ecf02d19efb4cc2de63b77f4aa821bd74c67b2 (diff) | |
| parent | 3b37cc31bb09b11238868c34a38a8e99f508479f (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into pen
Diffstat (limited to 'src/client/views/InkingStroke.tsx')
| -rw-r--r-- | src/client/views/InkingStroke.tsx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/views/InkingStroke.tsx b/src/client/views/InkingStroke.tsx index e00ba91a4..a27f106e3 100644 --- a/src/client/views/InkingStroke.tsx +++ b/src/client/views/InkingStroke.tsx @@ -35,7 +35,6 @@ export class InkingStroke extends DocExtendableComponent<FieldViewProps, InkDocu @computed get PanelHeight() { return this.props.PanelHeight(); } render() { - // let pathData = this.parseData(this.props.line); let data: InkData = Cast(this.Document.data, InkField)?.inkData ?? []; let xs = data.map(p => p.x); let ys = data.map(p => p.y); @@ -48,7 +47,6 @@ export class InkingStroke extends DocExtendableComponent<FieldViewProps, InkDocu let height = bottom - top; let scaleX = this.PanelWidth / width; let scaleY = this.PanelHeight / height; - // let pathlength = this.props.count; // bcz: this is needed to force reactions to the line's data changes return ( <svg width={width} height={height} style={{ transformOrigin: "top left", |
