fix: ensure timeline clips can be extended to longer than 5s

This commit is contained in:
Maze Winther
2025-07-08 00:42:46 +02:00
parent c0cc4c009e
commit ea59cc3950
3 changed files with 92 additions and 6 deletions

View File

@ -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 =