summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/web/src/hooks/timeline/element/use-element-interaction.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/web/src/hooks/timeline/element/use-element-interaction.ts b/apps/web/src/hooks/timeline/element/use-element-interaction.ts
index beac1879..854c4f4e 100644
--- a/apps/web/src/hooks/timeline/element/use-element-interaction.ts
+++ b/apps/web/src/hooks/timeline/element/use-element-interaction.ts
@@ -153,7 +153,7 @@ function getDragDropTarget({
interface StartDragParams
extends Omit<
ElementDragState,
- "isDragging" | "currentTime" | "currentMouseY"
+ "isDragging" | "currentTime" | "currentMouseY" | "dragElementIds" | "dragTimeOffsets"
> {
initialCurrentTime: number;
initialCurrentMouseY: number;
@@ -177,6 +177,7 @@ export function useElementInteraction({
...sceneTracks.audio,
];
const {
+ selectedElements,
isElementSelected,
selectElement,
handleElementClick: handleSelectionClick,