diff --git a/app/page.tsx b/app/page.tsx
index d8de060..57cbeed 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -134,20 +134,6 @@ const mockMenuItems: MenuItem[] = [
},
],
},
- {
- id: "layout",
- label: "Layout",
- icon: ,
- isExpanded: true,
- children: [
- {
- id: "center-only-bottom",
- label: "Bottom panel under center only",
- isChecked: false,
- onClick: () => console.log("Center-only bottom panel toggled"),
- },
- ],
- },
{
id: "hidden-item",
label: "This should be hidden",
@@ -261,7 +247,6 @@ export default function VisualNovelEditor() {
const [leftPanelWidth, setLeftPanelWidth] = useState(300)
const [rightPanelWidth, setRightPanelWidth] = useState(300)
const [bottomPanelHeight, setBottomPanelHeight] = useState(200)
- const [centerOnlyBottomPanel, setCenterOnlyBottomPanel] = useState(false)
// Track when panels are transitioning to enable/disable transitions
const [leftPanelTransitioning, setLeftPanelTransitioning] = useState(false)
@@ -312,22 +297,6 @@ export default function VisualNovelEditor() {
}
const handleMenuItemClick = (item: MenuItem) => {
- if (item.id === "center-only-bottom") {
- setCenterOnlyBottomPanel((current) => !current)
- setMenuItems((items) =>
- items.map((menuItem) =>
- menuItem.id === "layout"
- ? {
- ...menuItem,
- children: menuItem.children?.map((child) =>
- child.id === "center-only-bottom" ? { ...child, isChecked: !centerOnlyBottomPanel } : child,
- ),
- }
- : menuItem,
- ),
- )
- return
- }
console.log("Menu item clicked:", item.label)
}
@@ -376,22 +345,16 @@ export default function VisualNovelEditor() {
{/* Top Section - Left, Main, Right Panels */}
{/* Left Panel - Node Tree */}
{/* Main Panel */}
-
+
{/* Action Buttons */}
{selectedNode && selectedNode.actions.length > 0 && (
@@ -476,10 +436,8 @@ export default function VisualNovelEditor() {
{/* Right Panel - Info */}
+
- {/* Bottom Panel - Object Properties */}
+ {/* Bottom Panel - Object Properties (Full Width) */}
-
)