aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
authoryunahi <60233430+yunahi@users.noreply.github.com>2021-01-09 01:31:43 +0900
committeryunahi <60233430+yunahi@users.noreply.github.com>2021-01-09 01:31:43 +0900
commit768ab508529ab2b7f43a44592e5dc2c9f15a68a5 (patch)
tree05e8bbf1cabc27023875032a86554326519cf1b9 /src/client/views/collections
parentb4dea3a9ee58805504c50f963537e57c024e43e3 (diff)
spotlight
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/TabDocView.tsx10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx
index 530595cd0..b3ad0f82e 100644
--- a/src/client/views/collections/TabDocView.tsx
+++ b/src/client/views/collections/TabDocView.tsx
@@ -142,6 +142,16 @@ export class TabDocView extends React.Component<TabDocViewProps> {
pinDoc.presStartTime = 0;
pinDoc.presEndTime = doc.duration;
}
+ //save position
+ if (pinDoc.isInkMask) {
+ pinDoc.y = doc.y;
+ pinDoc.x = doc.x;
+ pinDoc.presHideAfter = true;
+ pinDoc.presHideBefore = true;
+ pinDoc.title = doc.title + "- Spotlight";
+ pinDoc.presMovement = PresMovement.None;
+
+ }
if (curPres.expandBoolean) pinDoc.presExpandInlineButton = true;
const dview = CollectionDockingView.Instance.props.Document;
const fieldKey = CollectionDockingView.Instance.props.fieldKey;