diff options
| author | bobzel <zzzman@gmail.com> | 2020-12-10 21:41:54 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-12-10 21:41:54 -0500 |
| commit | 896db53261aca91de21eabfaa6fed0c1b27e3e51 (patch) | |
| tree | 8b8380c3fd30065a98054714d3d4d2535da81f8a /src/client/views/nodes/LabelBox.tsx | |
| parent | dcf5ba2699d7f83f604bedeadea3ba69061a0fd1 (diff) | |
moved opacity and borderRounding into styleProviders. fixed contextMenu clcik from button bar
Diffstat (limited to 'src/client/views/nodes/LabelBox.tsx')
| -rw-r--r-- | src/client/views/nodes/LabelBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/LabelBox.tsx b/src/client/views/nodes/LabelBox.tsx index 826ccd340..dd751b802 100644 --- a/src/client/views/nodes/LabelBox.tsx +++ b/src/client/views/nodes/LabelBox.tsx @@ -72,7 +72,7 @@ export class LabelBox extends ViewBoxBaseComponent<FieldViewProps, LabelDocument onMouseLeave={action(() => this._mouseOver = false)} onMouseOver={action(() => this._mouseOver = true)} ref={this.createDropTarget} onContextMenu={this.specificContextMenu} - style={{ boxShadow: this.layoutDoc.opacity ? StrCast(this.layoutDoc.boxShadow) : "" }}> + style={{ boxShadow: this.props.styleProvider?.(this.layoutDoc, this.props, "boxShadow") }}> <div className="labelBox-mainButton" style={{ background: StrCast(this.layoutDoc.backgroundColor), backgroundColor: this.backColor, |
