diff --git a/projects/editor/src/app/app.component.ts b/projects/editor/src/app/app.component.ts index b7214519ca41bb263ed8748e7031b9016b8b0985..ffe1d123382511312ea31129c8e084c051dfebf6 100644 --- a/projects/editor/src/app/app.component.ts +++ b/projects/editor/src/app/app.component.ts @@ -27,13 +27,9 @@ export class AppComponent implements OnInit { constructor(private unitService: UnitService, private translateService: TranslateService, - private veronaApiService: VeronaAPIService, - private matIconRegistry: MatIconRegistry, - private domSanitizer: DomSanitizer) { + private veronaApiService: VeronaAPIService) { translateService.addLangs(['de']); translateService.setDefaultLang('de'); - this.matIconRegistry.addSvgIcon('playlist_remove', - this.domSanitizer.bypassSecurityTrustResourceUrl('assets/playlist_remove.svg')); } ngOnInit(): void { diff --git a/projects/editor/src/app/components/unit-view/canvas/section-menu.component.ts b/projects/editor/src/app/components/unit-view/canvas/section-menu.component.ts index 23fbb142cf340a241ea2e065bf1f70d00e716ec5..0cf1f307f696354382e2f35f069319805b260b65 100644 --- a/projects/editor/src/app/components/unit-view/canvas/section-menu.component.ts +++ b/projects/editor/src/app/components/unit-view/canvas/section-menu.component.ts @@ -48,7 +48,9 @@ import { SectionService } from 'editor/src/app/services/unit-services/section.se <button mat-mini-fab [color]="section.ignoreNumbering ? 'primary' : 'accent'" (click)="ignoreNumbering()" [matTooltip]="'Von der Nummerierung ausnehmen'" [matTooltipPosition]="'left'"> - <mat-icon>playlist_remove</mat-icon> + <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="white"> + <path d="m576-80-56-56 104-104-104-104 56-56 104 104 104-104 56 56-104 104 104 104-56 56-104-104L576-80ZM120-320v-80h280v80H120Zm0-160v-80h440v80H120Zm0-160v-80h440v80H120Z"/> + </svg> </button>