mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-10 02:06:29 +03:00
optimized animations
This commit is contained in:
parent
5087e7de25
commit
8d5dffcca1
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user