1
This commit is contained in:
@@ -174,8 +174,10 @@ export class CanvasManager {
|
||||
if (!activeID) return
|
||||
const activeObject = this.getObjectById(activeID)
|
||||
if (!activeObject) return
|
||||
const parentId = activeObject.info?.parentId
|
||||
if (!object.info.parentId) object.info.parentId = parentId
|
||||
if (object.type !== "group") {
|
||||
const parentId = activeObject.info?.parentId
|
||||
if (!object.info.parentId) object.info.parentId = parentId
|
||||
}
|
||||
const index = this.getObjects().indexOf(activeObject)
|
||||
this.canvas.moveTo(object, index + 1)
|
||||
// await this.sortObjectByIds(ids, isRecord)
|
||||
|
||||
Reference in New Issue
Block a user