We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2936f80 + 350f6cf commit a73fe62Copy full SHA for a73fe62
src/browser/services/RenderService.ts
@@ -174,6 +174,10 @@ export class RenderService extends Disposable implements IRenderService {
174
}
175
176
public onDevicePixelRatioChange(): void {
177
+ // Force char size measurement as DomMeasureStrategy(getBoundingClientRect) is not stable
178
+ // when devicePixelRatio changes
179
+ this._charSizeService.measure();
180
+
181
this._renderer.onDevicePixelRatioChange();
182
this.refreshRows(0, this._rowCount - 1);
183
0 commit comments