feat: disable other popover tabs if the current key is layer switcher action (#813)

This commit is contained in:
Róbert Kiss
2018-10-07 22:14:36 +02:00
committed by László Monda
parent 843b4cbf68
commit d57ef66038
4 changed files with 87 additions and 51 deletions

View File

@@ -63,7 +63,7 @@ export class LayerTabComponent extends Tab implements OnChanges {
this.isNotBase = this.currentLayer > 0;
}
this.validAction.emit(true);
this.validAction.emit(!this.isNotBase);
}
keyActionValid(): boolean {