diff --git a/packages/web/src/appobj/AppObjectGroup.svelte b/packages/web/src/appobj/AppObjectGroup.svelte index e7f79160..bf52001c 100644 --- a/packages/web/src/appobj/AppObjectGroup.svelte +++ b/packages/web/src/appobj/AppObjectGroup.svelte @@ -35,19 +35,17 @@ return res; }); } - -
(isExpanded = !isExpanded)} - on:drop={e => { + function handleDrop(e) { var data = e.dataTransfer.getData('app_object_drag_data'); if (data && onDropOnGroup) { e.stopPropagation(); onDropOnGroup(data, group); } - }} -> + } + + +
(isExpanded = !isExpanded)} on:drop={handleDrop}> @@ -65,18 +63,20 @@
{/if} - {#each items as item} - - {/each} +
+ {#each items as item} + + {/each} +
{/if}