From b769a150c8da505289f045b8b296a759c75e03a8 Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 12 Dec 2023 14:06:38 -0500 Subject: fixed and cleaned up snapping lines --- src/client/views/collections/collectionSchema/SchemaRowBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/views/collections/collectionSchema') diff --git a/src/client/views/collections/collectionSchema/SchemaRowBox.tsx b/src/client/views/collections/collectionSchema/SchemaRowBox.tsx index 8d2671a6e..5a2926159 100644 --- a/src/client/views/collections/collectionSchema/SchemaRowBox.tsx +++ b/src/client/views/collections/collectionSchema/SchemaRowBox.tsx @@ -59,7 +59,7 @@ export class SchemaRowBox extends ViewBoxBaseComponent { - if (SnappingManager.GetIsDragging() && this.props.isContentActive()) { + if (SnappingManager.IsDragging && this.props.isContentActive()) { document.removeEventListener('pointermove', this.onPointerMove); document.addEventListener('pointermove', this.onPointerMove); } -- cgit v1.2.3-70-g09d2