|
@@ -16,6 +16,7 @@ import { floorplanData } from '../FloorplanData.js'
|
|
|
import { signService } from '../Service/SignService.js'
|
|
|
import mitt from 'mitt'
|
|
|
import {history} from '../History/History.js'
|
|
|
+import { iconService } from '../Service/IconService.js'
|
|
|
|
|
|
export default class UIControl{
|
|
|
constructor(layer) {
|
|
@@ -177,7 +178,7 @@ export default class UIControl{
|
|
|
} else if (item.type == VectorType.Arrow) {
|
|
|
floorplanService.deleteArrow(item.vectorId)
|
|
|
} else if (item.type == VectorType.Icon) {
|
|
|
- floorplanService.deleteIcon(item.vectorId)
|
|
|
+ iconService.deleteIcon(item.vectorId)
|
|
|
} else if (item.type == VectorType.Tag) {
|
|
|
floorplanService.deleteTag(item.vectorId)
|
|
|
} else if (item.type == VectorType.Table) {
|