mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-10 14:30:03 +00:00
optimized animations
This commit is contained in:
parent
5087e7de25
commit
8d5dffcca1
@ -28,7 +28,11 @@ export function getRootModule (plugins: any[]) {
|
|||||||
@NgModule({
|
@NgModule({
|
||||||
imports,
|
imports,
|
||||||
bootstrap,
|
bootstrap,
|
||||||
}) class RootModule { } // eslint-disable-line @typescript-eslint/no-extraneous-class
|
}) class RootModule {
|
||||||
|
ngDoBootstrap () {
|
||||||
|
(window as any)['requestAnimationFrame'] = window[window['Zone'].__symbol__('requestAnimationFrame')]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return RootModule
|
return RootModule
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user