111
This commit is contained in:
@@ -22,6 +22,9 @@ export class LayerManager {
|
||||
this.stateManager.toolManager.setTool(OperationType.SELECT)
|
||||
}
|
||||
}
|
||||
getActiveLayer() {
|
||||
return this.getLayerById(this.activeID.value)
|
||||
}
|
||||
getLayerById(id) {
|
||||
return this.layers.value.find((item: any) => item.info.id === id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user