"use client"; import { TooltipProvider } from "@/components/ui/primitives/tooltip"; import { cn } from "@/lib/utils"; import { ControlModes } from "./control-modes"; import { PhaseSwitcher } from "./phase-switcher"; import { StructureTools } from "./structure-tools"; import useEditor from "@/store/use-editor"; import { AnimatePresence, motion } from "motion/react"; // import { ViewToggles } from "./view-toggles"; export function ActionMenu({ className }: { className?: string }) { const phase = useEditor((state) => state.phase); const mode = useEditor((state) => state.mode); return (
{/* Structure Tools Row - Animated */} {phase === "structure" && mode === "build" && (
)}
{/* Control Mode Row - Always visible, centered */}
{/*
*/} {/* */}
); }