mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
fix: fix merge issues for setup-wizard project
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
import {
|
||||
Component,
|
||||
Directive,
|
||||
ElementRef,
|
||||
inject,
|
||||
NgZone,
|
||||
OnInit,
|
||||
} from '@angular/core'
|
||||
import { WINDOW } from '@ng-web-apis/common'
|
||||
import { Component, ElementRef, inject, NgZone, OnInit } from '@angular/core'
|
||||
import { WA_WINDOW } from '@ng-web-apis/common'
|
||||
|
||||
// a higher fade factor will make the characters fade quicker
|
||||
const FADE_FACTOR = 0.07
|
||||
@@ -19,7 +12,7 @@ const FADE_FACTOR = 0.07
|
||||
})
|
||||
export class MatrixComponent implements OnInit {
|
||||
private readonly ngZone = inject(NgZone)
|
||||
private readonly window = inject(WINDOW)
|
||||
private readonly window = inject(WA_WINDOW)
|
||||
private readonly el: HTMLCanvasElement = inject(ElementRef).nativeElement
|
||||
private readonly ctx = this.el.getContext('2d')!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user