|
|
|
@ -96,7 +96,7 @@ export class PlanDisplayComponent implements OnInit {
|
|
|
|
|
this.worldAreaService.getFullWorldAreas().subscribe(a => this.worldAreaMap = a);
|
|
|
|
|
this.overlayStateChangeHandle = this.events.listen<StateEvent>("OverlayStateChange").subscribe(this.onOverlayStateChange.bind(this));
|
|
|
|
|
this.events.listen<boolean>("overlay_or_target_focus").subscribe((event: Event<boolean>) => {
|
|
|
|
|
if (event.payload) {
|
|
|
|
|
if (!event.payload) {
|
|
|
|
|
this.destroyBinds();
|
|
|
|
|
} else {
|
|
|
|
|
this.setupBinds();
|
|
|
|
|