Change Brand Accent Change Detection Strategy
This commit is contained in:
1 parent
02f936b345
commit
be48e8ef89
1 file changed
+2
-1
@@ -1,5 +1,5 @@
|
||||
import {
|
||||
afterNextRender,
|
||||
afterNextRender, ChangeDetectionStrategy,
|
||||
Component,
|
||||
effect,
|
||||
ElementRef,
|
||||
@@ -17,6 +17,7 @@ import { SettingsService } from '../../services/settings.service';
|
||||
imports: [CommonModule],
|
||||
templateUrl: './brand-accent.html',
|
||||
styleUrl: './brand-accent.scss',
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class BrandAccent implements OnDestroy {
|
||||
canvasRef = viewChild<ElementRef<HTMLCanvasElement>>('canvasElement');
|
||||
|
||||
Reference in new issue
Block a user