diff options
author | tschicke-brown <tyler_schicke@brown.edu> | 2019-02-18 23:02:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-18 23:02:26 -0500 |
commit | 70f0ba1275fa879e86d05c1aa3bb5b1567e3d04c (patch) | |
tree | 7744b7432aa9e65604f18a6a4db9d10c32f30480 /src/client/views/nodes/FormattedTextBox.tsx | |
parent | 3f98d6ec6050e7faa15179871f0d9669c1188a78 (diff) | |
parent | 842f571bfb4952d12804a8dbdc66aedbf2bf6b81 (diff) |
Merge pull request #6 from browngraphicslab/transforms
Transforms
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 f6bd0c0f8..2e3d396c1 100644 --- a/src/client/views/nodes/FormattedTextBox.tsx +++ b/src/client/views/nodes/FormattedTextBox.tsx @@ -110,7 +110,7 @@ export class FormattedTextBox extends React.Component<FieldViewProps> { } onPointerDown = (e: React.PointerEvent): void => { let me = this; - if (e.buttons === 1 && me.props.DocumentViewForField instanceof CollectionFreeFormDocumentView && SelectionManager.IsSelected(me.props.DocumentViewForField)) { + if (e.buttons === 1 && this.props.isSelected()) { e.stopPropagation(); } } |