feat: layer panel with element tree - shows layers + elements as children with count badges, sub-layers supported
This commit is contained in:
@@ -124,6 +124,7 @@ export interface RightSidebarProps {
|
||||
onPanelChange: (panel: RightPanel) => void;
|
||||
selectedElement: CADElement | null;
|
||||
layers: CADLayer[];
|
||||
elements?: CADElement[];
|
||||
blocks: BlockDefinition[];
|
||||
activeLayerId?: string;
|
||||
onSelectLayer?: (id: string) => void;
|
||||
@@ -162,6 +163,7 @@ export interface PropertiesPanelProps {
|
||||
|
||||
export interface LayerPanelProps {
|
||||
layers: CADLayer[];
|
||||
elements?: CADElement[];
|
||||
activeLayerId?: string;
|
||||
onSelectLayer: (id: string) => void;
|
||||
onAddLayer: () => void;
|
||||
|
||||
Reference in New Issue
Block a user