提交 60e46eb8 编写于 作者: J Jackson Kearl

Delay animating until content is prepared to prevent weird flying elements.

上级 69a6e6ac
......@@ -12,11 +12,14 @@
width: 100%;
height: 100%;
position: absolute;
transition: left 0.25s, opacity 0.25s;
left: 0;
top: 0;
}
.monaco-workbench .part.editor > .content .walkThroughContent .gettingStartedContainer.animationReady .gettingStartedSlide {
transition: left 0.25s, opacity 0.25s;
}
.monaco-workbench .part.editor > .content .walkThroughContent .gettingStartedContainer .gettingStartedSlide.categories {
display: flex;
flex-direction: column;
......
......@@ -258,6 +258,7 @@ export class GettingStartedPage extends Disposable {
} else {
tasksSlide.classList.add('next');
}
setImmediate(() => assertIsDefined(container.querySelector('.gettingStartedContainer')).classList.add('animationReady'));
}
private layout() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册