diff options
author | bobzel <zzzman@gmail.com> | 2020-08-29 11:53:43 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-29 11:53:43 -0400 |
commit | 6414d1a344c80a75c2d4fb91e3cd7126e23c4cb1 (patch) | |
tree | bf50ad57a72785a6166113f1c260583d60321386 /src/client/documents/Documents.ts | |
parent | 53e29fd0fcb09f443978b26dc31c37cf35241dae (diff) |
made isDisplayPanel a prop of the docking layout instead of a field on a Doc
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 9186cea87..2ca1b95d7 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -101,7 +101,6 @@ export interface DocumentOptions { page?: number; description?: string; // added for links _viewScale?: number; - isDisplayPanel?: boolean; // whether the panel functions as GoldenLayout "stack" used to display documents forceActive?: boolean; layout?: string | Doc; // default layout string for a document childLayoutTemplate?: Doc; // template for collection to use to render its children (see PresBox or Buxton layout in tree view) @@ -848,7 +847,7 @@ export namespace Docs { { type: type, content: [ - ...configs.map(config => CollectionDockingView.makeDocumentConfig(config.doc, config.initialWidth)) + ...configs.map(config => CollectionDockingView.makeDocumentConfig(config.doc, false, config.initialWidth)) ] } ] |