Fix properties

This commit is contained in:
space-nuko
2023-05-06 11:24:19 -05:00
parent ef4723b572
commit 27a6f9e2ab
4 changed files with 28 additions and 3 deletions

View File

@@ -50,7 +50,7 @@
function ungroup() {
const item = layoutState.getCurrentSelection()[0]
if (item.type !== "container")
if (!item || item.type !== "container")
return;
$layoutState.currentSelection = []