1
0
Fork 0
mirror of synced 2024-07-04 05:50:57 +12:00

Fix indentation level in screen and layout trees

This commit is contained in:
Andrew Kingston 2020-12-08 15:11:26 +00:00
parent d223515d6c
commit e16e909c65
2 changed files with 2 additions and 1 deletions

View file

@ -71,7 +71,7 @@
on:drop={dragDropStore.actions.drop}
text={isScreenslot(component._component) ? 'Screenslot' : component._instanceName}
withArrow
indentLevel={level + 3}
indentLevel={level + 1}
selected={$store.selectedComponentId === component._id}>
<ComponentDropdownMenu {component} />
</NavItem>

View file

@ -50,6 +50,7 @@
</NavItem>
{#if selectedScreen?._id === screenId}
<ComponentTree
level={1}
components={selectedScreen.props._children}
currentComponent={$selectedComponent}
{dragDropStore} />