Taha 2024-05-10 00:02:30 +00:00 zatwierdzone przez GitHub
commit c273bc5d0b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -6772,7 +6772,6 @@ export class Editor extends EventEmitter<TLEventMap> {
},
])
this.reparentShapes(sortedShapeIds, groupId)
this.select(groupId)
})
return this

Wyświetl plik

@ -560,7 +560,9 @@ export function ActionsProvider({ overrides, children }: ActionsProviderProps) {
editor.ungroupShapes(editor.getSelectedShapeIds())
} else {
editor.mark('group')
editor.groupShapes(editor.getSelectedShapeIds())
const groupId = createShapeId()
editor.groupShapes(editor.getSelectedShapeIds(), groupId)
editor.select(groupId)
}
},
},