diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx index d653a2ef3..947167628 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx @@ -59,7 +59,7 @@ export class CollectionFreeFormInfoUI extends ObservableReactComponent<Collectio let pinned : FieldResult<Field>; const pin = () => Doc.ActivePresentation?.data; - const trail = () => DocumentManager.Instance.DocumentViews.find(view => view.Document === Doc.MyTrails); + const trailView = () => DocumentManager.Instance.DocumentViews.find(view => view.Document === Doc.MyTrails); const presentationMode = () => Doc.ActivePresentation?.presentation_status; // set of states @@ -141,7 +141,7 @@ export class CollectionFreeFormInfoUI extends ObservableReactComponent<Collectio const demos = InfoState('Wanna explore more?', { // activePen: [() => activeTool() === InkTool.Pen, () => penMode], - docPinned: [() => pinned && pinned != pin(), () => pinnedDoc], + docPinned: [() => pin(), () => pinnedDoc], }); // const penMode = InfoState('You\'re in pen mode. Click and drag to draw your first masterpiece.', { @@ -155,8 +155,8 @@ export class CollectionFreeFormInfoUI extends ObservableReactComponent<Collectio const pinnedDoc = InfoState('You just pinned your doc.', { editPresentation: [() => presentationMode() === 'edit', () => editPresentationMode], - // manualPresentation: [() => presentationMode() === 'manual', () => manualPresentationMode], - // autoPresentation: [() => presentationMode() === 'auto', () => autoPresentationMode], + manualPresentation: [() => presentationMode() === 'manual', () => manualPresentationMode], + autoPresentation: [() => presentationMode() === 'auto', () => autoPresentationMode], docRemoved: [() => numDocs() < 3, () => demos], }); |