diff options
author | Stanley Yip <stanley_yip@brown.edu> | 2020-04-28 18:06:07 -0700 |
---|---|---|
committer | Stanley Yip <stanley_yip@brown.edu> | 2020-04-28 18:06:07 -0700 |
commit | 55d1ea38c1355ef97efedd6c1fbdbc29d7b5d821 (patch) | |
tree | 419dcfe37f31b842479e2484b84d49a49efc4465 /src | |
parent | 58ba643f2642432ca6041f5d348aadf005323b73 (diff) |
snap lines hidden
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/MainView.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index 1f88410b8..12f0adf70 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -584,12 +584,13 @@ export class MainView extends React.Component { <MarqueeOptionsMenu /> <RichTextMenu /> <OverlayView /> + {/* TO VIEW SNAP LINES <div className="snapLines" style={{ position: "absolute", top: 0, left: 0, width: "100%", height: "100%", pointerEvents: "none" }}> <svg style={{ width: "100%", height: "100%" }}> - {this._hLines?.map(l => <line x1="0" y1={l} x2="1000" y2={l} stroke="black" />)} - {this._vLines?.map(l => <line y1="0" x1={l} y2="1000" x2={l} stroke="black" />)} + {this._hLines?.map(l => <line x1="0" y1={l} x2="2000" y2={l} stroke="black" />)} + {this._vLines?.map(l => <line y1="0" x1={l} y2="2000" x2={l} stroke="black" />)} </svg> - </div> + </div> */} </div >); } } |