aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-03-09 09:49:03 -0500
committerbobzel <zzzman@gmail.com>2021-03-09 09:49:03 -0500
commit8fcb1a23224762233ebf3e519b13bc72cdfdf3c5 (patch)
tree52e4114b5d8db3ab00efe0e404a8424fc7766eaf /src/client/views/collections/collectionFreeForm
parent2beec2fd2075f210054095dcd028c056dab48e28 (diff)
got rid of DocHolderBox. changed dontRegisterChildViews to childDontRegisterViews for consistency.
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