diff options
| author | James Hu <51237606+jameshu111@users.noreply.github.com> | 2023-06-07 11:46:41 -0400 |
|---|---|---|
| committer | James Hu <51237606+jameshu111@users.noreply.github.com> | 2023-06-07 11:46:41 -0400 |
| commit | 32b3261ae97a6d9c3c9e4c026dcd16bea61b3d73 (patch) | |
| tree | 7c879a73240b22db95b47f8cbd4a8e040510419a /src/client/views/nodes/LabelBox.tsx | |
| parent | 55502b8d24dbbad87af5b9059cc3a746e4db91d9 (diff) | |
| parent | 3a70c915f3f2b64de72ac7cdff316184cb12db53 (diff) | |
Merge branch 'master' into james-video-loading
Diffstat (limited to 'src/client/views/nodes/LabelBox.tsx')
| -rw-r--r-- | src/client/views/nodes/LabelBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/LabelBox.tsx b/src/client/views/nodes/LabelBox.tsx index 32026ea9c..73823041c 100644 --- a/src/client/views/nodes/LabelBox.tsx +++ b/src/client/views/nodes/LabelBox.tsx @@ -130,9 +130,9 @@ export class LabelBox extends ViewBoxBaseComponent<FieldViewProps & LabelBoxProp className="labelBox-mainButton" style={{ backgroundColor: this.hoverColor, - fontSize: StrCast(this.layoutDoc._fontSize), + fontSize: StrCast(this.layoutDoc._text_fontSize), color: StrCast(this.layoutDoc._color), - fontFamily: StrCast(this.layoutDoc._fontFamily) || 'inherit', + fontFamily: StrCast(this.layoutDoc._text_fontFamily) || 'inherit', letterSpacing: StrCast(this.layoutDoc.letterSpacing), textTransform: StrCast(this.layoutDoc.textTransform) as any, paddingLeft: NumCast(this.rootDoc._xPadding), |
