fix: layer panel collapsible tree + element actions (visibility toggle, delete) + RenderEngine skips invisible elements

This commit is contained in:
2026-06-27 23:59:12 +02:00
parent affa6be151
commit a4371ca3ce
5 changed files with 91 additions and 44 deletions
+4
View File
@@ -138,6 +138,8 @@ export interface RightSidebarProps {
onUpdateLayerLineType?: (id: string, lineType: 'solid' | 'dashed' | 'dotted') => void;
onUpdateLayerTransparency?: (id: string, transparency: number) => void;
onAddSubLayer?: (parentId: string) => void;
onElementsDeleted?: (ids: string[]) => void;
onToggleElementVisible?: (id: string) => void;
onRenameBlock?: (id: string, name: string) => void;
onDuplicateBlock?: (id: string) => void;
onDeleteBlock?: (id: string) => void;
@@ -176,6 +178,8 @@ export interface LayerPanelProps {
onUpdateLayerLineType?: (id: string, lineType: 'solid' | 'dashed' | 'dotted') => void;
onUpdateLayerTransparency?: (id: string, transparency: number) => void;
onAddSubLayer?: (parentId: string) => void;
onElementsDeleted?: (ids: string[]) => void;
onToggleElementVisible?: (id: string) => void;
}
export interface BlockLibraryProps {