diff options
| author | geireann <geireann.lindfield@gmail.com> | 2021-09-01 15:55:28 -0400 |
|---|---|---|
| committer | geireann <geireann.lindfield@gmail.com> | 2021-09-01 15:55:28 -0400 |
| commit | 4ba82ba609d51354958e8346c65673c4cf172c52 (patch) | |
| tree | 4b82f905210e6938cdf9755193da02e37b5f83c6 /src/client/views/nodes/button/FontIconBox.tsx | |
| parent | ef630d51e6407f303992e0672fb110a1009e5223 (diff) | |
making more changes
Diffstat (limited to 'src/client/views/nodes/button/FontIconBox.tsx')
| -rw-r--r-- | src/client/views/nodes/button/FontIconBox.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/nodes/button/FontIconBox.tsx b/src/client/views/nodes/button/FontIconBox.tsx index fbb336445..bccf733f0 100644 --- a/src/client/views/nodes/button/FontIconBox.tsx +++ b/src/client/views/nodes/button/FontIconBox.tsx @@ -557,9 +557,11 @@ export class FontIconBox extends DocComponent<ButtonProps, FontIconDocument>(Fon ); break; case ButtonType.MenuButton: + const trailsIcon = <img src={`/assets/${"presTrails.png"}`} + style={{ width: 20, height: 20, filter: `invert(${color === Colors.DARK_GRAY ? "0%" : "100%"})` }} />; button = ( <div className={`menuButton ${this.type}`} style={{ color: color, backgroundColor: backgroundColor }}> - <FontAwesomeIcon className={`fontIconBox-icon-${this.type}`} icon={this.icon} color={color} /> + {this.icon === "pres-trail" ? trailsIcon : <FontAwesomeIcon className={`fontIconBox-icon-${this.type}`} icon={this.icon} color={color} />} {menuLabel} <FontIconBadge collection={Cast(this.rootDoc.watchedDocuments, Doc, null)} /> </div > |
