kopia lustrzana https://github.com/Tldraw/Tldraw
Merge 0e07c7956b
into 91903c9761
commit
c273bc5d0b
|
@ -6772,7 +6772,6 @@ export class Editor extends EventEmitter<TLEventMap> {
|
|||
},
|
||||
])
|
||||
this.reparentShapes(sortedShapeIds, groupId)
|
||||
this.select(groupId)
|
||||
})
|
||||
|
||||
return this
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
Ładowanie…
Reference in New Issue