summaryrefslogtreecommitdiff
path: root/apps/web/src/components/editor/timeline-element.tsx
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-07-08 00:42:46 +0200
committerMaze Winther <mazewinther@gmail.com>2025-07-08 00:42:46 +0200
commitea59cc395075c1961fa5d7984f7becde3b949e1f (patch)
tree0d74820a1c83d90e55d47d2e9abfe582cf48f978 /apps/web/src/components/editor/timeline-element.tsx
parentc0cc4c009eecc3865ec93201bdaff4a7f1249577 (diff)
downloadopencut-ea59cc395075c1961fa5d7984f7becde3b949e1f.tar.gz
fix: ensure timeline clips can be extended to longer than 5s
Diffstat (limited to 'apps/web/src/components/editor/timeline-element.tsx')
-rw-r--r--apps/web/src/components/editor/timeline-element.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/web/src/components/editor/timeline-element.tsx b/apps/web/src/components/editor/timeline-element.tsx
index 65126379..4a909ce4 100644
--- a/apps/web/src/components/editor/timeline-element.tsx
+++ b/apps/web/src/components/editor/timeline-element.tsx
@@ -45,6 +45,7 @@ export function TimelineElement({
const { mediaItems } = useMediaStore();
const {
updateElementTrim,
+ updateElementDuration,
removeElementFromTrack,
dragState,
splitElement,
@@ -67,6 +68,7 @@ export function TimelineElement({
track,
zoomLevel,
onUpdateTrim: updateElementTrim,
+ onUpdateDuration: updateElementDuration,
});
const effectiveDuration =