aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx
diff options
context:
space:
mode:
authornewalina <157907056+newalina@users.noreply.github.com>2024-03-09 23:58:29 -0500
committernewalina <157907056+newalina@users.noreply.github.com>2024-03-09 23:58:29 -0500
commite1fb489ea8a16472e7b752fd5d08e964fbd87a8d (patch)
treea0f4d476048bf9523bf139417edaa3ea56aed4c9 /src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx
parent432b3cc7af644c31591e27f7825eee45a34288a8 (diff)
add show less show more button
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx
index a81195c95..9ced90a00 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx
@@ -42,7 +42,7 @@ export class CollectionFreeFormInfoUI extends ObservableReactComponent<Collectio
if (state) {
this.currState = state;
this.currState[StateEntryFunc]?.();
- TopBar.Instance.FlipDocumentationIcon();
+ // TopBar.Instance.FlipDocumentationIcon();
}
};
@@ -105,7 +105,8 @@ export class CollectionFreeFormInfoUI extends ObservableReactComponent<Collectio
return movedDoc2;
}],
},
- 'dash-colon-menu.gif'
+ 'dash-colon-menu.gif',
+ () => TopBar.Instance.FlipDocumentationIcon()
); // prettier-ignore
const movedDoc2 = InfoState(
@@ -119,7 +120,8 @@ export class CollectionFreeFormInfoUI extends ObservableReactComponent<Collectio
return movedDoc3;
}],
},
- 'dash-colon-menu.gif'
+ 'dash-colon-menu.gif',
+ () => TopBar.Instance.FlipDocumentationIcon()
); // prettier-ignore
const movedDoc3 = InfoState(
@@ -133,7 +135,8 @@ export class CollectionFreeFormInfoUI extends ObservableReactComponent<Collectio
return movedDoc1;
}],
},
- 'dash-colon-menu.gif'
+ 'dash-colon-menu.gif',
+ () => TopBar.Instance.FlipDocumentationIcon()
); // prettier-ignore
const multipleDocs = InfoState(
@@ -178,7 +181,7 @@ export class CollectionFreeFormInfoUI extends ObservableReactComponent<Collectio
activePen: [() => activeTool() === InkTool.Pen, () => penMode],
},
'documentation.png',
-
+ () => TopBar.Instance.FlipDocumentationIcon()
); // prettier-ignore
const presentDocs = InfoState(