Button on map to show/hide console

This commit is contained in:
Piotr Pekala
2019-08-07 05:19:54 -07:00
parent 7f30d6ddf6
commit 99df35282e
6 changed files with 40 additions and 4 deletions

View File

@ -68,6 +68,7 @@ export class ProjectMapComponent implements OnInit, OnDestroy {
public server: Server;
public ws: WebSocket;
public isProjectMapMenuVisible: boolean = false;
public isConsoleVisible: boolean = false;
tools = {
selection: true,
@ -362,6 +363,10 @@ export class ProjectMapComponent implements OnInit, OnDestroy {
this.project.show_interface_labels = enabled;
}
public toggleShowConsole(visible: boolean) {
this.isConsoleVisible = visible;
}
public hideMenu() {
this.projectMapMenuComponent.resetDrawToolChoice()
this.isProjectMapMenuVisible = false;