Update to angular 22

This commit is contained in:
2026-08-05 13:16:47 +02:00
parent 80e7493d82
commit 3cfdd34b6f
122 changed files with 7559 additions and 3911 deletions
@@ -1,6 +1,5 @@
import {
Component, Input, ElementRef, AfterViewInit, OnDestroy, NgZone, ViewChild, OnChanges, HostListener
} from '@angular/core';
Component, Input, ElementRef, AfterViewInit, OnDestroy, NgZone, ViewChild, OnChanges, HostListener, ChangeDetectionStrategy } from '@angular/core';
import { PonyInfo, PonyState } from '../../../common/interfaces';
import { toPalette } from '../../../common/ponyInfo';
import { GRASS_COLOR, TRANSPARENT } from '../../../common/colors';
@@ -21,6 +20,7 @@ const DEFAULT_STATE = defaultPonyState();
const DEFAULT_OPTIONS = defaultDrawPonyOptions();
@Component({
changeDetection: ChangeDetectionStrategy.Eager,
standalone: false,
selector: 'character-preview',
template: '<canvas class="rounded" #canvas></canvas>',