aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/TabDocView.tsx
diff options
context:
space:
mode:
authorGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2022-09-21 16:36:23 -0400
committerGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2022-09-21 16:36:23 -0400
commit6f135d3bd98e31489e6ca5738e3546c31959aeb6 (patch)
tree9c10625d52439029001611f6a3ac491016164820 /src/client/views/collections/TabDocView.tsx
parent46e01e2ebb7b826c5b609bb1825057fc93a56645 (diff)
open trail on right and capitalize header buttons
Diffstat (limited to 'src/client/views/collections/TabDocView.tsx')
-rw-r--r--src/client/views/collections/TabDocView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx
index 98121f423..2d8055ba9 100644
--- a/src/client/views/collections/TabDocView.tsx
+++ b/src/client/views/collections/TabDocView.tsx
@@ -280,7 +280,7 @@ export class TabDocView extends React.Component<TabDocViewProps> {
) {
const docs = Cast(Doc.MyOverlayDocs.data, listSpec(Doc), []);
if (docs.includes(curPres)) docs.splice(docs.indexOf(curPres), 1);
- CollectionDockingView.AddSplit(curPres, 'left');
+ CollectionDockingView.AddSplit(curPres, 'right');
setTimeout(() => DocumentManager.Instance.jumpToDocument(docList.lastElement(), false, undefined, []), 100); // keeps the pinned doc in view since the sidebar shifts things
}
setTimeout(batch.end, 500); // need to wait until dockingview (goldenlayout) updates all its structurs