diff options
author | Fawn <fangrui_tong@brown.edu> | 2020-01-14 14:47:44 -0500 |
---|---|---|
committer | Fawn <fangrui_tong@brown.edu> | 2020-01-14 14:47:44 -0500 |
commit | b4c2d2add2b863060ce559e49b3953f24050f162 (patch) | |
tree | 7261c8d43e99ef76ca17933a07ad112f7563d18f /src/server/authentication/models/current_user_utils.ts | |
parent | c78409b7cb6c4ab828bce0eef1525032958219f7 (diff) |
can add strokes to mobile ink
Diffstat (limited to 'src/server/authentication/models/current_user_utils.ts')
-rw-r--r-- | src/server/authentication/models/current_user_utils.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/authentication/models/current_user_utils.ts b/src/server/authentication/models/current_user_utils.ts index 71369b625..b40179fbc 100644 --- a/src/server/authentication/models/current_user_utils.ts +++ b/src/server/authentication/models/current_user_utils.ts @@ -140,6 +140,10 @@ export class CurrentUserUtils { }); } + static setupMobileInkingDoc(userDoc: Doc) { + return Docs.Create.FreeformDocument([], { x: 0, y: 0, width: 10, height: 20, title: "Mobile Inking", backgroundColor: "red" }); + } + // setup the Creator button which will display the creator panel. This panel will include the drag creators and the color picker. when clicked, this panel will be displayed in the target container (ie, sidebarContainer) static setupToolsPanel(sidebarContainer: Doc, doc: Doc) { // setup a masonry view of all he creators |