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/collections/CollectionDockingView.tsx | |
| parent | 4a0332994b38c8910077e6cc711e9e78c2964b67 (diff) | |
| parent | 3afdfa11e35bcb73dd4a871e5e4489b0dd3a3c95 (diff) | |
Merge pull request #366 from browngraphicslab/script_documents
Script documents
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionDockingView.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx index 6f5a3dfe4..8c0b0a1c8 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -859,5 +859,6 @@ export class DockedFrameRenderer extends React.Component<DockedFrameProps> { </div >); } } -Scripting.addGlobal(function openOnRight(doc: any) { CollectionDockingView.AddRightSplit(doc); }); +Scripting.addGlobal(function openOnRight(doc: any) { CollectionDockingView.AddRightSplit(doc); }, + "opens up the inputted document on the right side of the screen", "(doc: any)"); Scripting.addGlobal(function useRightSplit(doc: any, shiftKey?: boolean) { CollectionDockingView.UseRightSplit(doc, undefined, shiftKey); }); |
