mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-03 01:25:38 -05:00
Merge VS Code 1.31.1 (#4283)
This commit is contained in:
5
src/bootstrap-window.js
vendored
5
src/bootstrap-window.js
vendored
@@ -51,9 +51,8 @@ exports.load = function (modulePaths, resultCallback, options) {
|
||||
// Enable ASAR support
|
||||
bootstrap.enableASARSupport(path.join(configuration.appRoot, 'node_modules'));
|
||||
|
||||
// disable pinch zoom & apply zoom level early to avoid glitches
|
||||
// Apply zoom level early to avoid glitches
|
||||
const zoomLevel = configuration.zoomLevel;
|
||||
webFrame.setVisualZoomLevelLimits(1, 1);
|
||||
if (typeof zoomLevel === 'number' && zoomLevel !== 0) {
|
||||
webFrame.setZoomLevel(zoomLevel);
|
||||
}
|
||||
@@ -233,7 +232,7 @@ function registerDeveloperKeybindings() {
|
||||
return function () {
|
||||
if (listener) {
|
||||
window.removeEventListener('keydown', listener);
|
||||
listener = void 0;
|
||||
listener = undefined;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user