aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/FormattedTextBox.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-04-17 22:55:10 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-04-17 22:55:10 -0400
commit67c56296339bd1c760b704c1d14710ec6f575d49 (patch)
tree312cc96b7922b07cde7889ceee104bc64251a620 /src/client/views/nodes/FormattedTextBox.tsx
parent619cb5bbd10fd3aff80b93c4163bf5c3fcbdba50 (diff)
added freeze button for web boxes. cleaned up pointerevent setting throughout code.
Diffstat (limited to 'src/client/views/nodes/FormattedTextBox.tsx')
-rw-r--r--src/client/views/nodes/FormattedTextBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx
index d641dc791..62911dc5c 100644
--- a/src/client/views/nodes/FormattedTextBox.tsx
+++ b/src/client/views/nodes/FormattedTextBox.tsx
@@ -1185,7 +1185,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<(FieldViewProp
background: this.props.hideOnLeave ? "rgba(0,0,0 ,0.4)" : StrCast(this.layoutDoc[this.props.fieldKey + "-backgroundColor"]),
opacity: this.props.hideOnLeave ? (this._entered ? 1 : 0.1) : 1,
color: this.props.hideOnLeave ? "white" : "inherit",
- pointerEvents: interactive ? "none" : "all",
+ pointerEvents: interactive ? "none" : undefined,
fontSize: NumCast(this.layoutDoc.fontSize, 13),
fontFamily: StrCast(this.layoutDoc.fontFamily, "Crimson Text"),
}}