diff options
| author | bob <bcz@cs.brown.edu> | 2019-10-15 16:25:10 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-10-15 16:25:10 -0400 |
| commit | 33811c112c7e479813908ba10f72813954a3e289 (patch) | |
| tree | 8e424501ea479d03423660c3251a1afce8c060c0 /src/client/views/nodes/FontIconBox.tsx | |
| parent | 03f86e3b7b450699073c47aa43af23d31e0765d4 (diff) | |
working version of inking buttons
Diffstat (limited to 'src/client/views/nodes/FontIconBox.tsx')
| -rw-r--r-- | src/client/views/nodes/FontIconBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/FontIconBox.tsx b/src/client/views/nodes/FontIconBox.tsx index aa442cd92..efe47d8a8 100644 --- a/src/client/views/nodes/FontIconBox.tsx +++ b/src/client/views/nodes/FontIconBox.tsx @@ -18,7 +18,7 @@ export class FontIconBox extends DocComponent<FieldViewProps, FontIconDocument>( render() { return <button className="fontIconBox-outerDiv" style={{ background: StrCast(this.props.Document.backgroundColor) }}> - <FontAwesomeIcon className="fontIconBox-icon" icon={this.Document.icon as any} size="sm" color="white" /> + <FontAwesomeIcon className="fontIconBox-icon" icon={this.Document.icon as any} size="sm" opacity={this.props.Document.unchecked ? "0.5" : "1"} /> </button>; } }
\ No newline at end of file |
