diff options
| author | newalina <157907056+newalina@users.noreply.github.com> | 2024-03-09 23:58:29 -0500 |
|---|---|---|
| committer | newalina <157907056+newalina@users.noreply.github.com> | 2024-03-09 23:58:29 -0500 |
| commit | e1fb489ea8a16472e7b752fd5d08e964fbd87a8d (patch) | |
| tree | a0f4d476048bf9523bf139417edaa3ea56aed4c9 /src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoUI.tsx | |
| parent | 432b3cc7af644c31591e27f7825eee45a34288a8 (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.tsx | 13 |
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( |
