aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-10-08 23:08:35 -0400
committerbobzel <zzzman@gmail.com>2024-10-08 23:08:35 -0400
commitca67414c9da685070c1143ce3b771edda2fdc191 (patch)
tree3dd72b2d9e62f6af817cd7775585d0bb93cc40c0 /src/client/views/collections
parent972839216c14baa5c9eaf80e1fb2fb2694bbb72c (diff)
parentb9fda86731a01ebfc3f21ebdd4eaf43a1c9eccc6 (diff)
Merge branch 'master' into alyssa-starter
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/CollectionCardDeckView.tsx4
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/collections/CollectionCardDeckView.tsx b/src/client/views/collections/CollectionCardDeckView.tsx
index c61b0b4dd..5d39dc1ca 100644
--- a/src/client/views/collections/CollectionCardDeckView.tsx
+++ b/src/client/views/collections/CollectionCardDeckView.tsx
@@ -549,10 +549,10 @@ export class CollectionCardView extends CollectionSubView() {
} else {
// otherwise, turn off documentDecorations becase we're in a selection transition and want to avoid artifacts.
// Turn them back on when the animation has completed and the render and backend structures are in synch
- SnappingManager.SetIsResizing(doc[Id]);
+ SnappingManager.SetHideDecorations(true);
setTimeout(
action(() => {
- SnappingManager.SetIsResizing(undefined);
+ SnappingManager.SetHideDecorations(false);
this._forceChildXf++;
}),
1000
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
index 0cc63d632..d8678eebc 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
@@ -138,7 +138,7 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection
return this._props.layoutEngine?.() || StrCast(this.layoutDoc._layoutEngine);
}
@computed get childPointerEvents() {
- return SnappingManager.IsResizing
+ return falseSnappingManager.IsResizing
? 'none'
: (this._props.childPointerEvents?.() ??
(this._props.viewDefDivClick || //