Skip to content

Commit 633562d

Browse files
author
Jackson Kearl
committed
Remove some finniky logic causing rendering glitches
1 parent 2023dd3 commit 633562d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/vs/workbench/contrib/welcome/gettingStarted/browser/gettingStarted.ts

-7
Original file line numberDiff line numberDiff line change
@@ -385,13 +385,6 @@ export class GettingStartedPage extends EditorPane {
385385
stepElement.style.height = ``;
386386
stepElement.style.height = `${stepElement.scrollHeight}px`;
387387

388-
setTimeout(() => {
389-
// Scrollheight doesn't play nicely with the -webkit-line-clamp logic, soketomes clipped even after the first scan
390-
// rescan in a lil bit to help things along.
391-
stepElement.style.height = ``;
392-
stepElement.style.height = `${stepElement.scrollHeight}px`;
393-
}, 50);
394-
395388
if (!this.currentCategory || this.currentCategory.content.type !== 'steps') {
396389
throw Error('cannot expand step for category of non steps type' + this.currentCategory?.id);
397390
}

0 commit comments

Comments
 (0)