aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2020-11-03 23:32:17 +0800
committerGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2020-11-03 23:32:17 +0800
commit88a677d37d63d2fcb163df5aee9cfbeb127a414f (patch)
treea77bb63e7602c9319835ce53b6f73fb0c0470700 /src
parent41b30ab6c20c02744c6eb93e63c77fffca3e1615 (diff)
remove expand all / minimize all
slow performance - especially when the outermost collection is pinned multiple times
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/PresBox.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/views/nodes/PresBox.tsx b/src/client/views/nodes/PresBox.tsx
index 699f56620..1d2e6d173 100644
--- a/src/client/views/nodes/PresBox.tsx
+++ b/src/client/views/nodes/PresBox.tsx
@@ -1886,15 +1886,14 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps, PresBoxSchema>
{isMini ? (null) :
<>
<div className="toolbar-divider" />
- <Tooltip title={<><div className="dash-tooltip">{this._expandBoolean ? "Minimize all" : "Expand all"}</div></>}>
+ {/* <Tooltip title={<><div className="dash-tooltip">{this._expandBoolean ? "Minimize all" : "Expand all"}</div></>}>
<div className={"toolbar-button"}
style={{ color: this._expandBoolean ? PresColors.DarkBlue : 'white' }}
onClick={this.toggleExpandMode}>
- {/* <FontAwesomeIcon icon={this.rootDoc.expandBoolean ? "eye-slash" : "eye"} /> */}
<FontAwesomeIcon icon={"eye"} />
</div>
</Tooltip>
- <div className="toolbar-divider" />
+ <div className="toolbar-divider" /> */}
<Tooltip title={<><div className="dash-tooltip">{presKeyEvents ? "Keys are active" : "Keys are not active - click anywhere on the presentation trail to activate keys"}</div></>}>
<div className="toolbar-button" style={{ cursor: presKeyEvents ? 'default' : 'pointer', position: 'absolute', right: 30, fontSize: 16 }}>
<FontAwesomeIcon className={"toolbar-thumbtack"} icon={"keyboard"} style={{ color: presKeyEvents ? PresColors.DarkBlue : 'white' }} />