diff --git a/src/ts/components/shared/chat-log/chat-log.ts b/src/ts/components/shared/chat-log/chat-log.ts index cb848e2..0ede8f9 100644 --- a/src/ts/components/shared/chat-log/chat-log.ts +++ b/src/ts/components/shared/chat-log/chat-log.ts @@ -243,7 +243,7 @@ export class ChatLog implements AfterViewInit, OnDestroy, DoCheck { local: ChatLogMessage[] = []; party: ChatLogMessage[] = []; whisper: ChatLogMessage[] = []; - filterColor = this.inactiveBg; + filterColor: string; unread = 0; private subscriptions: Subscription[] = []; private startX = 0; @@ -263,6 +263,7 @@ export class ChatLog implements AfterViewInit, OnDestroy, DoCheck { private element: ElementRef, private zone: NgZone, ) { + this.filterColor = this.inactiveBg; // TODO: just put reference to chatlog on game ??? this.subscriptions.push( game.onFrame.subscribe(() => {