Skip to content

Commit 88bd8c6

Browse files
committed
fix(timeline): resize width
1 parent d88056b commit 88bd8c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/app-frontend/src/features/timeline/TimelineView.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,12 +1332,14 @@ export default defineComponent({
13321332
app.view.style.opacity = '0'
13331333
// @ts-expect-error PIXI type is missing queueResize
13341334
app.queueResize()
1335+
setTimeout(() => {
13351336
mainRenderTexture?.resize(app.view.width / window.devicePixelRatio, app.view.height / window.devicePixelRatio)
13361337
queueEventsUpdate()
13371338
drawLayerBackgroundEffects()
13381339
drawTimeCursor()
13391340
drawTimeGrid()
13401341
draw()
1342+
}, 100)
13411343
}
13421344
13431345
// Misc. mouse events

0 commit comments

Comments
 (0)