rewrite selection system

This commit is contained in:
wass08
2026-01-21 08:00:31 +09:00
parent bc8293b120
commit a338bea4e7
11 changed files with 118 additions and 30 deletions
@@ -40,7 +40,7 @@ export function AppSidebar() {
// const handleDeleteSelected = useEditor((state) => state.handleDeleteSelected);
// const serializeLayout = useEditor((state) => state.serializeLayout);
const activeTool = useEditor((state) => state.tool);
const currentLevelId = useViewer((state) => state.currentLevelId);
const currentLevelId = useViewer((state) => state.selection.levelId);
const setActiveTool = useEditor((state) => state.setTool);
const [jsonCollapsed, setJsonCollapsed] = useState<boolean | number>(1);