mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-25 22:25:53 +02:00
Update to angular 22
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Component, OnInit, ElementRef, ViewChild } from '@angular/core';
|
||||
import { Component, OnInit, ElementRef, ViewChild, ChangeDetectionStrategy } from '@angular/core';
|
||||
import { PonyInfo, PonyState } from '../../../common/interfaces';
|
||||
import { createCanvas, disableImageSmoothing } from '../../../common/canvasUtils';
|
||||
import { toPalette, createDefaultPony, syncLockedPonyInfo } from '../../../common/ponyInfo';
|
||||
@@ -11,6 +11,7 @@ import { paletteSpriteSheet } from '../../../generated/sprites';
|
||||
import { loadAndInitSpriteSheets } from '../../../client/loadSprites';
|
||||
|
||||
@Component({
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
standalone: false,
|
||||
selector: 'tools-variants',
|
||||
templateUrl: 'tools-variants.pug',
|
||||
|
||||
Reference in New Issue
Block a user