|
@@ -1,7 +1,6 @@
|
|
|
import {Component, OnInit, ViewRef} from '@angular/core';
|
|
import {Component, OnInit, ViewRef} from '@angular/core';
|
|
|
|
|
|
|
|
import {HsDialogContainerService} from 'hslayers-ng';
|
|
import {HsDialogContainerService} from 'hslayers-ng';
|
|
|
-import {HsLanguageService} from 'hslayers-ng';
|
|
|
|
|
import {HsLayoutService} from 'hslayers-ng';
|
|
import {HsLayoutService} from 'hslayers-ng';
|
|
|
import {HsPanelComponent} from 'hslayers-ng';
|
|
import {HsPanelComponent} from 'hslayers-ng';
|
|
|
|
|
|
|
@@ -28,7 +27,6 @@ export class AdjusterComponent implements HsPanelComponent, OnInit {
|
|
|
public adjusterService: AdjusterService,
|
|
public adjusterService: AdjusterService,
|
|
|
public adjusterPresetsService: AdjusterPresetsService,
|
|
public adjusterPresetsService: AdjusterPresetsService,
|
|
|
public hsDialogContainerService: HsDialogContainerService,
|
|
public hsDialogContainerService: HsDialogContainerService,
|
|
|
- public hsLanguageService: HsLanguageService,
|
|
|
|
|
public hsLayoutService: HsLayoutService
|
|
public hsLayoutService: HsLayoutService
|
|
|
) {
|
|
) {
|
|
|
//this.descriptionVisible = false;
|
|
//this.descriptionVisible = false;
|
|
@@ -49,7 +47,7 @@ export class AdjusterComponent implements HsPanelComponent, OnInit {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
getLabelInCurrentLang(labels) {
|
|
getLabelInCurrentLang(labels) {
|
|
|
- return this.adjusterPresetsService.getLabelInLang(labels, this.hsLanguageService.getCurrentLanguageCode());
|
|
|
|
|
|
|
+ return this.adjusterPresetsService.getLabelInCurrentLang(labels);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
isVisible(): boolean {
|
|
isVisible(): boolean {
|
|
@@ -81,6 +79,6 @@ export class AdjusterComponent implements HsPanelComponent, OnInit {
|
|
|
|
|
|
|
|
/*selectMethod(): void {
|
|
/*selectMethod(): void {
|
|
|
this.adjusterService.method = this.method;
|
|
this.adjusterService.method = this.method;
|
|
|
- this.adjusterEventService.methodChanged.next(this.method);
|
|
|
|
|
|
|
+ this.adjusterEventService.methodChanges.next(this.method);
|
|
|
}*/
|
|
}*/
|
|
|
}
|
|
}
|