Skip to content

Commit

Permalink
fixed broken event editor
Browse files Browse the repository at this point in the history
  • Loading branch information
Vegita2 committed Jul 20, 2024
1 parent 9172034 commit 69e9c48
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { inject, SecurityContext } from '@angular/core';
import { SecurityContext } from '@angular/core';
import { DomSanitizer } from '@angular/platform-browser';
import { PartialPoint3, Point, Point3 } from '../../../../models/cross-code-map';
import { Label } from '../../../../models/events';
Expand Down Expand Up @@ -169,7 +169,7 @@ export abstract class AbstractEvent<T extends EventType> {
public info = '---';
public children: EventTypeChild[] = [];

private colorService = inject(ColorService);
private colorService = new ColorService();

constructor(
private domSanitizer: DomSanitizer,
Expand Down

0 comments on commit 69e9c48

Please sign in to comment.