diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-04-24 23:17:44 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-04-24 23:17:44 -0400 |
commit | 575d8b339cdf74cdcb8d46dcd6e627aec2dda636 (patch) | |
tree | 8d8c89ba997c6a12dce7dd8fd6fa02122f46e9c9 /src/client/views/nodes/FormattedTextBox.tsx | |
parent | 20becbb5ca40350ed85e01f73f29621ba7783bb9 (diff) |
added borderRadius and fixed a bunch of broken props along the way.
Diffstat (limited to 'src/client/views/nodes/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/FormattedTextBox.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx index 9cd58c73a..4b2fdbaff 100644 --- a/src/client/views/nodes/FormattedTextBox.tsx +++ b/src/client/views/nodes/FormattedTextBox.tsx @@ -273,7 +273,10 @@ export class FormattedTextBox extends React.Component<(FieldViewProps & Formatte let color = this.props.Document.GetText(KeyStore.BackgroundColor, ""); return ( <div className={`formattedTextBox-cont-${style}`} - style={{ background: color }} + style={{ + borderRadius: `${this.props.borderRounding()}px`, + background: color, + }} onKeyDown={this.onKeyPress} onKeyPress={this.onKeyPress} onFocus={this.onFocused} |