diff --git a/packages/app-frontend/src/features/timeline/TimelineView.vue b/packages/app-frontend/src/features/timeline/TimelineView.vue index 37b60ca3d..90b312fa0 100644 --- a/packages/app-frontend/src/features/timeline/TimelineView.vue +++ b/packages/app-frontend/src/features/timeline/TimelineView.vue @@ -1227,12 +1227,14 @@ export default defineComponent({ app.view.style.opacity = '0' // @ts-expect-error PIXI type is missing queueResize app.queueResize() - mainRenderTexture?.resize(app.view.width, app.view.height) - queueEventsUpdate() - drawLayerBackgroundEffects() - drawTimeCursor() - drawTimeGrid() - draw() + requestAnimationFrame(() => { + mainRenderTexture?.resize(app.view.width, app.view.height) + queueEventsUpdate() + drawLayerBackgroundEffects() + drawTimeCursor() + drawTimeGrid() + draw() + }) } // Events