From 18056735bdeddca55f530d41259874a4ed3ae200 Mon Sep 17 00:00:00 2001 From: bobzel Date: Thu, 19 Sep 2024 00:05:28 -0400 Subject: fixed hiding decorations when animating card transitions --- src/client/views/collections/CollectionCardDeckView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/views/collections') diff --git a/src/client/views/collections/CollectionCardDeckView.tsx b/src/client/views/collections/CollectionCardDeckView.tsx index 5a00fb673..3dfb280f4 100644 --- a/src/client/views/collections/CollectionCardDeckView.tsx +++ b/src/client/views/collections/CollectionCardDeckView.tsx @@ -646,7 +646,7 @@ export class CollectionCardView extends CollectionSubView() { className={`card-item${isSelected ? '-active' : anySelected ? '-inactive' : ''}`} onPointerUp={() => { // this turns off documentDecorations during a transition, then turns them back on afterward. - SnappingManager.SetIsResizing(this.Document[Id]); + SnappingManager.SetIsResizing(doc[Id]); setTimeout( action(() => { SnappingManager.SetIsResizing(undefined); -- cgit v1.2.3-70-g09d2