111
This commit is contained in:
@@ -153,6 +153,9 @@ export class CanvasManager {
|
||||
getObjectById(id: string) {
|
||||
return this.getObjects().find((item: any) => item?.info?.id === id)
|
||||
}
|
||||
getActiveObject() {
|
||||
return this.getObjectById(this.layerManager.activeID.value)
|
||||
}
|
||||
renderAll() {
|
||||
this.canvas.renderAll()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user