mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-23 05:52:42 -05:00
commit
f8b94a294f
1 changed files with 2 additions and 0 deletions
|
@ -92,6 +92,8 @@ const ungroupItems = function (items, setSelectedItems, onUpdateImage) {
|
||||||
if (!item.hasChildren()) {
|
if (!item.hasChildren()) {
|
||||||
emptyGroups.push(item);
|
emptyGroups.push(item);
|
||||||
}
|
}
|
||||||
|
} else if (setSelectedItems) {
|
||||||
|
item.selected = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (setSelectedItems) {
|
if (setSelectedItems) {
|
||||||
|
|
Loading…
Reference in a new issue