mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 04:23:32 +01:00
Simplify Configuration
This commit is contained in:
@@ -420,7 +420,7 @@ export class View extends ViewEventHandler {
|
||||
// Try to detect browser zooming and paint again if necessary
|
||||
if (Math.abs(browser.getPixelRatio() - this._configPixelRatio) > 0.001) {
|
||||
// looks like the pixel ratio has changed
|
||||
this._context.configuration.updatePixelRatio();
|
||||
this._context.configuration.observePixelRatio();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user