Browse Source

[修正] 设置高亮前取消全部选择

develop
徐振升 4 years ago
parent
commit
426d750605
  1. 1
      src/app/working-area/working-area.component.ts

1
src/app/working-area/working-area.component.ts

@ -214,6 +214,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
* *
*/ */
public setHighlight(ids: string[]): void { public setHighlight(ids: string[]): void {
this.selection.deselectAll();
ids.forEach(item => { ids.forEach(item => {
const obj = this.backgroundImage.getChildByName(item); const obj = this.backgroundImage.getChildByName(item);
if (obj instanceof MultipointIcon) { if (obj instanceof MultipointIcon) {

Loading…
Cancel
Save