Fix layerswitcher not opening
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
parent
b92cc7bc09
commit
0d247e6416
@ -36,10 +36,12 @@ export class LayerSwitcher implements OnInit,OnChanges{
|
|||||||
|
|
||||||
|
|
||||||
handleClick(event:Event) {
|
handleClick(event:Event) {
|
||||||
|
event.stopPropagation();
|
||||||
this.store.dispatch(new mapActions.ShowLayerSwitcher(true));
|
this.store.dispatch(new mapActions.ShowLayerSwitcher(true));
|
||||||
}
|
}
|
||||||
|
|
||||||
close(event:Event) {
|
close(event:Event) {
|
||||||
|
event.stopPropagation();
|
||||||
this.store.dispatch(new mapActions.ShowLayerSwitcher(false));
|
this.store.dispatch(new mapActions.ShowLayerSwitcher(false));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user