diff options
| author | bobzel <zzzman@gmail.com> | 2023-01-09 15:52:20 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-01-09 15:52:20 -0500 |
| commit | 947e9e6634b734dc8cbfbd45db4ecbeef7f5d753 (patch) | |
| tree | 50d68585fa38a59f51ded8aca8a2eb88325fc56e /src/client/views/collections/TabDocView.tsx | |
| parent | 6d32fe60ce32d650a2ba0d5eb8e36dccb591521f (diff) | |
changed default pres duration of pinned item to 2 secs. if not defined, default is 0.
Diffstat (limited to 'src/client/views/collections/TabDocView.tsx')
| -rw-r--r-- | src/client/views/collections/TabDocView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx index cd58319cb..5c05b5c13 100644 --- a/src/client/views/collections/TabDocView.tsx +++ b/src/client/views/collections/TabDocView.tsx @@ -253,6 +253,7 @@ export class TabDocView extends React.Component<TabDocViewProps> { pinDoc.title = doc.title + ' - Slide'; pinDoc.data = new List<Doc>(); // the children of the alias' layout are the presentation slide children. the alias' data field might be children of a collection, PDF data, etc -- in any case we don't want the tree view to "see" this data pinDoc.presMovement = doc.type === DocumentType.SCRIPTING || pinProps?.pinDocLayout ? PresMovement.None : PresMovement.Zoom; + pinDoc.presDuration = 2000; pinDoc.groupWithUp = false; pinDoc.context = curPres; // these should potentially all be props passed down by the CollectionTreeView to the TreeView elements. That way the PresBox could configure all of its children at render time |
