diff options
| author | bobzel <zzzman@gmail.com> | 2020-09-10 20:10:58 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-09-10 20:10:58 -0400 |
| commit | 51eea45ec6ee39cb83ee3b0780ad262b8b8b5dd8 (patch) | |
| tree | 0552d9d7be43a80fc641ecb33b8251d4317695d4 /src/client/views/collections/TabDocView.tsx | |
| parent | 57d7a09f7b8834382ab2974f70a2c5be7a694cd7 (diff) | |
made basic progressivized slides using TreeView
Diffstat (limited to 'src/client/views/collections/TabDocView.tsx')
| -rw-r--r-- | src/client/views/collections/TabDocView.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx index 5ace82b3c..aa1852250 100644 --- a/src/client/views/collections/TabDocView.tsx +++ b/src/client/views/collections/TabDocView.tsx @@ -146,6 +146,10 @@ export class TabDocView extends React.Component<TabDocViewProps> { CollectionDockingView.AddSplit(curPres, "right"); } DocumentManager.Instance.jumpToDocument(doc, false, undefined, Cast(doc.context, Doc, null)); + setTimeout(() => { + curPres._itemIndex = DocListCast(curPres.data).length - 1; + doc.treeViewOutlineMode && PresBox.Instance.progressivizeChild(null as any); + }, 100); } } } |
