diff options
Diffstat (limited to 'apps/web/src/components/editor/preview-panel.tsx')
| -rw-r--r-- | apps/web/src/components/editor/preview-panel.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/web/src/components/editor/preview-panel.tsx b/apps/web/src/components/editor/preview-panel.tsx index 3873ebca..42c4becc 100644 --- a/apps/web/src/components/editor/preview-panel.tsx +++ b/apps/web/src/components/editor/preview-panel.tsx @@ -14,7 +14,7 @@ import { cn } from "@/lib/utils"; import { formatTimeCode } from "@/lib/time"; import { EditableTimecode } from "@/components/ui/editable-timecode"; import { FONT_CLASS_MAP } from "@/lib/font-config"; -import { DEFAULT_CANVAS_SIZE, useProjectStore } from "@/stores/project-store"; +import { DEFAULT_CANVAS_SIZE, DEFAULT_FPS, useProjectStore } from "@/stores/project-store"; import { TextElementDragState } from "@/types/editor"; import { Popover, @@ -631,7 +631,7 @@ function FullscreenToolbar({ time={currentTime} duration={totalDuration} format="HH:MM:SS:FF" - fps={activeProject?.fps || 30} + fps={activeProject?.fps || DEFAULT_FPS} onTimeChange={seek} disabled={!hasAnyElements} className="text-foreground/90 hover:bg-white/10" @@ -641,7 +641,7 @@ function FullscreenToolbar({ {formatTimeCode( totalDuration, "HH:MM:SS:FF", - activeProject?.fps || 30 + activeProject?.fps || DEFAULT_FPS )} </span> </div> |
