diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-08-14 17:57:37 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-08-14 17:57:37 -0400 |
commit | e09f39a711fc109b1c80f4431efd01e6d251ab86 (patch) | |
tree | b8c149cd4aa46dedcea1da5a6303917a6a60e5ad /src/client/views/nodes/FormattedTextBox.tsx | |
parent | 6c2d425d3724dc4742cd2a844a6e28c4d580b319 (diff) |
fixed text/inking problems.
Diffstat (limited to 'src/client/views/nodes/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/FormattedTextBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx index 732576328..6842c782b 100644 --- a/src/client/views/nodes/FormattedTextBox.tsx +++ b/src/client/views/nodes/FormattedTextBox.tsx @@ -475,7 +475,7 @@ export class FormattedTextBox extends DocComponent<(FieldViewProps & FormattedTe } onPointerDown = (e: React.PointerEvent): void => { - if (this.onClick && e.button === 0) { + if (this.props.onClick && e.button === 0) { e.preventDefault(); } if (e.button === 0 && this.props.isSelected() && !e.altKey && !e.ctrlKey && !e.metaKey) { |