From fe3251b3186d4bb17615ec0dbd5d9acdaa4528ce Mon Sep 17 00:00:00 2001 From: Bob Zeleznik Date: Fri, 12 Jun 2020 11:35:24 -0400 Subject: fixed double-click text creation in grid views. --- src/client/views/collections/collectionGrid/CollectionGridView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/views/collections/collectionGrid/CollectionGridView.tsx') diff --git a/src/client/views/collections/collectionGrid/CollectionGridView.tsx b/src/client/views/collections/collectionGrid/CollectionGridView.tsx index 2b83eea86..96b1b5301 100644 --- a/src/client/views/collections/collectionGrid/CollectionGridView.tsx +++ b/src/client/views/collections/collectionGrid/CollectionGridView.tsx @@ -254,7 +254,7 @@ export class CollectionGridView extends CollectionSubView(GridSchema) { } onPointerDown = (e: React.PointerEvent) => { - if (this.props.isSelected(true)) { + if (this.props.active(true)) { setupMoveUpEvents(this, e, returnFalse, returnFalse, (e: PointerEvent, doubleTap?: boolean) => { if (doubleTap) { -- cgit v1.2.3-70-g09d2