aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/TabDocView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-09-10 20:10:58 -0400
committerbobzel <zzzman@gmail.com>2020-09-10 20:10:58 -0400
commit51eea45ec6ee39cb83ee3b0780ad262b8b8b5dd8 (patch)
tree0552d9d7be43a80fc641ecb33b8251d4317695d4 /src/client/views/collections/TabDocView.tsx
parent57d7a09f7b8834382ab2974f70a2c5be7a694cd7 (diff)
made basic progressivized slides using TreeView
Diffstat (limited to 'src/client/views/collections/TabDocView.tsx')
-rw-r--r--src/client/views/collections/TabDocView.tsx4
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);
}
}
}