Reduce to 25fps for less load
This commit is contained in:
parent
09f5641a70
commit
7c8caeb422
|
@ -156,7 +156,7 @@ export class OverlayWebview extends Disposable implements IOverlayWebview {
|
|||
// Temporary fix for https://github.com/microsoft/vscode/issues/110450
|
||||
// There is an animated that lasts about 200ms, update the webview positioning to match.
|
||||
if (animated) {
|
||||
for (let i = 20; i <= 240; i+= 20) {
|
||||
for (let i = 40; i <= 240; i+= 20) {
|
||||
setTimeout(() => {
|
||||
this.layoutWebviewOverElement(element, dimension, /*animated*/ false);
|
||||
}, i);
|
||||
|
|
Loading…
Reference in a new issue