Skip to content

Commit

Permalink
Fixes #84698: Replace will-change: transform with `transform: trans…
Browse files Browse the repository at this point in the history
…late3d(0px, 0px, 0px)` to work around Chromium change
  • Loading branch information
alexdima committed Nov 13, 2019
1 parent fd22e93 commit b1fd260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/base/browser/fastDomNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export class FastDomNode<T extends HTMLElement> {
return;
}
this._layerHint = layerHint;
(<any>this.domNode.style).willChange = this._layerHint ? 'transform' : 'auto';
this.domNode.style.transform = this._layerHint ? 'translate3d(0px, 0px, 0px)' : '';
}

public setAttribute(name: string, value: string): void {
Expand Down

0 comments on commit b1fd260

Please sign in to comment.