1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-10 02:06:29 +03:00

optimized animations

This commit is contained in:
Eugene Pankov 2022-06-15 20:02:00 +02:00
parent 5087e7de25
commit 8d5dffcca1
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -28,7 +28,11 @@ export function getRootModule (plugins: any[]) {
@NgModule({
imports,
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
}