diff options
author | yipstanley <stanley_yip@brown.edu> | 2019-03-08 00:12:37 -0500 |
---|---|---|
committer | yipstanley <stanley_yip@brown.edu> | 2019-03-08 00:12:37 -0500 |
commit | a25c7e5e436d772afe4b28300fc6999a78f7bba6 (patch) | |
tree | 6464cd134b322bb3f56900112064f3a2c8b26a5b /src/client/views/Main.tsx | |
parent | 0251cfba6ba20501d2598a890b7d67be6fc07379 (diff) | |
parent | 5a1da11a5767899aac2f1bfac6d33e0ee5d47c9e (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into improveText
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 d845fa7a3..7aca6d88f 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 @@ -96,6 +97,7 @@ Documents.initProtos(mainDocId, (res?: Document) => { <button onClick={clearDatabase}>Clear Database</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')); }) |