aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/FontIconBox.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-10-16 12:13:30 -0400
committerbob <bcz@cs.brown.edu>2019-10-16 12:13:30 -0400
commit6d9cad19047b9970a8429771e7c0e03554e63f39 (patch)
tree499544146c31f597ccf9874c7a611aa2f875bc01 /src/client/views/nodes/FontIconBox.tsx
parent50fb344cd7c93539f00b3aebc8fa5be4aefc73fd (diff)
more small fixes. dragging dragIcons, pdfmenu highlighting, fonticonbox hover text
Diffstat (limited to 'src/client/views/nodes/FontIconBox.tsx')
-rw-r--r--src/client/views/nodes/FontIconBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/FontIconBox.tsx b/src/client/views/nodes/FontIconBox.tsx
index 1c2ed33eb..848afccf3 100644
--- a/src/client/views/nodes/FontIconBox.tsx
+++ b/src/client/views/nodes/FontIconBox.tsx
@@ -35,7 +35,7 @@ export class FontIconBox extends DocComponent<FieldViewProps, FontIconDocument>(
this._backgroundReaction && this._backgroundReaction();
}
render() {
- return <button className="fontIconBox-outerDiv" ref={this._ref}
+ return <button className="fontIconBox-outerDiv" title={StrCast(this.props.Document.title)} ref={this._ref}
style={{ background: StrCast(this.props.Document.backgroundColor), boxShadow: this.props.Document.unchecked ? undefined : `4px 4px 12px black` }}>
<FontAwesomeIcon className="fontIconBox-icon" icon={this.Document.icon as any} color={this._foregroundColor} size="sm" />
</button>;