diff --git a/packages/geo/src/lib/draw/draw/draw.component.ts b/packages/geo/src/lib/draw/draw/draw.component.ts index b706668cb..b4ccd59a3 100644 --- a/packages/geo/src/lib/draw/draw/draw.component.ts +++ b/packages/geo/src/lib/draw/draw/draw.component.ts @@ -25,7 +25,11 @@ import { } from '@angular/forms'; import { MatBadgeModule } from '@angular/material/badge'; import { MatButtonModule } from '@angular/material/button'; -import { MatButtonToggleModule } from '@angular/material/button-toggle'; +import { + MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, + MatButtonToggleDefaultOptions, + MatButtonToggleModule +} from '@angular/material/button-toggle'; import { MatOptionModule } from '@angular/material/core'; import { MatDialog } from '@angular/material/dialog'; import { MatDividerModule } from '@angular/material/divider'; @@ -147,6 +151,14 @@ import { DrawShorcutsComponent } from './draw-shorcuts.component'; MatBadgeModule, AsyncPipe, IgoLanguageModule + ], + providers: [ + { + provide: MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, + useValue: { + hideSingleSelectionIndicator: true + } satisfies MatButtonToggleDefaultOptions + } ] }) export class DrawComponent implements OnInit, OnDestroy { diff --git a/packages/geo/src/lib/style/style-modal/layer/style-modal-layer.component.html b/packages/geo/src/lib/style/style-modal/layer/style-modal-layer.component.html index c9e033f31..a74f3d599 100644 --- a/packages/geo/src/lib/style/style-modal/layer/style-modal-layer.component.html +++ b/packages/geo/src/lib/style/style-modal/layer/style-modal-layer.component.html @@ -1,24 +1,22 @@ -