diff options
author | bob <bcz@cs.brown.edu> | 2019-03-08 09:21:07 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-03-08 09:21:07 -0500 |
commit | 58a189d13061cdf4b7561c30bad9e1230a57eeff (patch) | |
tree | b3c436704fa9e44f0cde010d4c969fc3b59e382e /src/client/views/Main.tsx | |
parent | 22d7f22a60a17373a6e453e09cc616f651c11a9e (diff) | |
parent | c0d9d7fbac952329d97ddc5c6f96fb02d9ab42f3 (diff) |
Merge branch 'master' into PDFNode
Diffstat (limited to 'src/client/views/Main.tsx')
-rw-r--r-- | src/client/views/Main.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/Main.tsx b/src/client/views/Main.tsx index abacb258e..c9bdc24c2 100644 --- a/src/client/views/Main.tsx +++ b/src/client/views/Main.tsx @@ -17,6 +17,7 @@ import { ContextMenu } from './ContextMenu'; import { DocumentDecorations } from './DocumentDecorations'; import { DocumentView } from './nodes/DocumentView'; import "./Main.scss"; +import { InkingControl } from './InkingControl'; configure({ enforceActions: "observed" }); // causes errors to be generated when modifying an observable outside of an action @@ -101,6 +102,7 @@ Documents.initProtos(mainDocId, (res?: Document) => { <button onPointerDown={setupDrag(pdfRef, addPDFNode)} onClick={addClick(addPDFNode)}>Add PDF</button></div> <button className="main-undoButtons" style={{ bottom: '25px' }} onClick={() => UndoManager.Undo()}>Undo</button> <button className="main-undoButtons" style={{ bottom: '0px' }} onClick={() => UndoManager.Redo()}>Redo</button> + <InkingControl /> </div>), document.getElementById('root')); }) |