diff options
author | bobzel <zzzman@gmail.com> | 2023-01-24 17:05:25 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-01-24 17:05:25 -0500 |
commit | 555d67a31adbe7e6d42f7f7805ba1348e6d505f6 (patch) | |
tree | 1bf2f5264d9c87cfc3ada1024470686bf0d2494b /src/client/views/nodes/button/FontIconBox.tsx | |
parent | a83e575638a0efe81da7aa0204edd33bb8a6bb2f (diff) |
stopped storing presCollection in PresBox in favor of computing it. added anchor menu option for viewing linked trail. fixed showing slected slides in presbox when link with up is used.
Diffstat (limited to 'src/client/views/nodes/button/FontIconBox.tsx')
-rw-r--r-- | src/client/views/nodes/button/FontIconBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/button/FontIconBox.tsx b/src/client/views/nodes/button/FontIconBox.tsx index e477d7ae2..1de29f806 100644 --- a/src/client/views/nodes/button/FontIconBox.tsx +++ b/src/client/views/nodes/button/FontIconBox.tsx @@ -161,7 +161,7 @@ export class FontIconBox extends DocComponent<ButtonProps>() { </div> ); return ( - <div className={`menuButton ${this.type} ${numBtnType}`} onClick={action(() => (this.rootDoc.dropDownOpen = !this.rootDoc.dropDownOpen))}> + <div className={`menuButton ${this.type} ${numBtnType}`} onPointerDown={e => e.stopPropagation()} onClick={action(() => (this.rootDoc.dropDownOpen = !this.rootDoc.dropDownOpen))}> {checkResult} {label} {this.rootDoc.dropDownOpen ? dropdown : null} |