aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
authorMichael Foiani <sotech117@Michaels-MacBook-Pro-3.local>2022-04-19 14:53:16 -0400
committerMichael Foiani <sotech117@Michaels-MacBook-Pro-3.local>2022-04-19 14:53:16 -0400
commitc1aead50030121554bf95ad392c80e042ec9c4d6 (patch)
treecbcd9413532bbeb9c58667e46fbc7dd6fc6cd0cf /src/client/views/collections
parent605137223d8afa0eaf8818de5b556601fca8441f (diff)
Extracted view tracking into api class
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
index 75855f5d9..1db90a65a 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
@@ -118,7 +118,7 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection
@observable _keyframeEditing = false;
@observable ChildDrag: DocumentView | undefined; // child document view being dragged. needed to update drop areas of groups when a group item is dragged.
- @observable storedMovements: object[] = []; // stores the movement if in presenting mode
+ @observable storedMovements: object[] = []; // stores the movement if in recoding mode
@computed get views() { return this._layoutElements.filter(ele => ele.bounds && !ele.bounds.z).map(ele => ele.ele); }
@computed get backgroundEvents() { return this.props.layerProvider?.(this.layoutDoc) === false && SnappingManager.GetIsDragging(); }
@@ -959,6 +959,7 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection
}
}
+
followMovements = (): void => {
// need the first for subtraction
let first = null;