aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-03-09 10:50:17 -0500
committerbobzel <zzzman@gmail.com>2021-03-09 10:50:17 -0500
commitaa6a2a80dab0a5879f119c5b54c9d1fbf08dde79 (patch)
treeaddbeade0d5614bb4c0ab3c93131e5adbb8ec547 /src/client/views/collections/collectionFreeForm
parent72f9988e5750f38d725aa0dd78e9af39a8794808 (diff)
parentf5e1997706f1ee977061aac3f071c245f444acee (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
-rw-r--r--src/client/views/collections/collectionFreeForm/MarqueeView.tsx8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
index 2a30e5fd0..e625b5b4b 100644
--- a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
+++ b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
@@ -323,11 +323,9 @@ export class MarqueeView extends React.Component<SubCollectionViewProps & Marque
if (Doc.GetSelectedTool() === InkTool.None) {
if (!(e.nativeEvent as any).marqueeHit) {
(e.nativeEvent as any).marqueeHit = true;
- if (!(e.nativeEvent as any).formattedHandled) {
- if (!this.props.trySelectCluster(e.shiftKey)) {
- this.setPreviewCursor(e.clientX, e.clientY, false);
- } else e.stopPropagation();
- }
+ if (!this.props.trySelectCluster(e.shiftKey)) {
+ this.setPreviewCursor(e.clientX, e.clientY, false);
+ } else e.stopPropagation();
}
}
// let the DocumentView stopPropagation of this event when it selects this document