From 8545d95070890edfcf76b788ee023f9d510c302d Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Sat, 12 Jul 2025 12:48:31 +0200 Subject: refactor: add FPS and remove turbopack (yes, fuck you turbopack) --- apps/web/src/components/editor-header.tsx | 15 +++++++-- apps/web/src/components/editor/preview-panel.tsx | 13 ++++++-- .../components/editor/properties-panel/index.tsx | 36 +++++++++++++++++++-- apps/web/src/components/editor/timeline-track.tsx | 37 ++++++++++++++++------ apps/web/src/components/editor/timeline.tsx | 17 +++++----- 5 files changed, 94 insertions(+), 24 deletions(-) (limited to 'apps/web/src/components') diff --git a/apps/web/src/components/editor-header.tsx b/apps/web/src/components/editor-header.tsx index 666ddaed..c4081c75 100644 --- a/apps/web/src/components/editor-header.tsx +++ b/apps/web/src/components/editor-header.tsx @@ -31,13 +31,24 @@ export function EditorHeader() { const centerContent = (
- {formatTimeCode(getTotalDuration(), "HH:MM:SS:CS")} + + {formatTimeCode( + getTotalDuration(), + "HH:MM:SS:FF", + activeProject?.fps || 30 + )} +
); const rightContent = (