diff options
Diffstat (limited to 'apps/web/src/app/editor')
| -rw-r--r-- | apps/web/src/app/editor/[project_id]/page.tsx (renamed from apps/web/src/app/editor/page.tsx) | 16 | ||||
| -rw-r--r-- | apps/web/src/app/editor/editor.css | 4 |
2 files changed, 8 insertions, 12 deletions
diff --git a/apps/web/src/app/editor/page.tsx b/apps/web/src/app/editor/[project_id]/page.tsx index e0013937..8eee5e0a 100644 --- a/apps/web/src/app/editor/page.tsx +++ b/apps/web/src/app/editor/[project_id]/page.tsx @@ -1,16 +1,15 @@ "use client"; import { useEffect } from "react"; -import "./editor.css"; import { ResizablePanelGroup, ResizablePanel, ResizableHandle, -} from "../../components/ui/resizable"; -import { MediaPanel } from "../../components/editor/media-panel"; +} from "../../../components/ui/resizable"; +import { MediaPanel } from "../../../components/editor/media-panel"; // import { PropertiesPanel } from "../../components/editor/properties-panel"; -import { Timeline } from "../../components/editor/timeline"; -import { PreviewPanel } from "../../components/editor/preview-panel"; +import { Timeline } from "../../../components/editor/timeline"; +import { PreviewPanel } from "../../../components/editor/preview-panel"; import { EditorHeader } from "@/components/editor-header"; import { usePanelStore } from "@/stores/panel-store"; import { useProjectStore } from "@/stores/project-store"; @@ -21,12 +20,10 @@ export default function Editor() { const { toolsPanel, previewPanel, - propertiesPanel, mainContent, timeline, setToolsPanel, setPreviewPanel, - setPropertiesPanel, setMainContent, setTimeline, } = usePanelStore(); @@ -55,7 +52,10 @@ export default function Editor() { className="min-h-0" > {/* Main content area */} - <ResizablePanelGroup direction="horizontal" className="h-full w-full"> + <ResizablePanelGroup + direction="horizontal" + className="h-full w-full" + > {/* Tools Panel */} <ResizablePanel defaultSize={toolsPanel} diff --git a/apps/web/src/app/editor/editor.css b/apps/web/src/app/editor/editor.css deleted file mode 100644 index f482c6de..00000000 --- a/apps/web/src/app/editor/editor.css +++ /dev/null @@ -1,4 +0,0 @@ -/* Prevent scroll jumping on Mac devices when using the editor */ -body { - overflow: hidden; -}
\ No newline at end of file |
