diff options
| author | bobzel <zzzman@gmail.com> | 2020-06-16 21:17:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-16 21:17:55 -0400 |
| commit | 9ead194ead1e603083945740e2b6e76130f23e18 (patch) | |
| tree | 6e600ff70138e542de490e76fc907601be14d799 /src/client/views/GestureOverlay.tsx | |
| parent | 4a0332994b38c8910077e6cc711e9e78c2964b67 (diff) | |
| parent | 3afdfa11e35bcb73dd4a871e5e4489b0dd3a3c95 (diff) | |
Merge pull request #366 from browngraphicslab/script_documents
Script documents
Diffstat (limited to 'src/client/views/GestureOverlay.tsx')
| -rw-r--r-- | src/client/views/GestureOverlay.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/GestureOverlay.tsx b/src/client/views/GestureOverlay.tsx index fd4495edb..79d407c7a 100644 --- a/src/client/views/GestureOverlay.tsx +++ b/src/client/views/GestureOverlay.tsx @@ -915,7 +915,7 @@ Scripting.addGlobal(function resetPen() { SetActiveInkColor(GestureOverlay.Instance.SavedColor ?? "rgb(0, 0, 0)"); SetActiveInkWidth(GestureOverlay.Instance.SavedWidth ?? "2"); }); -}); +}, "resets the pen tool"); Scripting.addGlobal(function createText(text: any, x: any, y: any) { GestureOverlay.Instance.dispatchGesture("text", [{ X: x, Y: y }], text); -});
\ No newline at end of file +}, "creates a text document with inputted text and coordinates", "(text: any, x: any, y: any)");
\ No newline at end of file |
