@codingame/monaco-vscode-keybindings-service-override 1.85.1 → 1.85.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-keybindings-service-override",
|
|
3
|
-
"version": "1.85.
|
|
3
|
+
"version": "1.85.3",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@1.85.
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@1.85.3",
|
|
22
22
|
"monaco-editor": "0.45.0",
|
|
23
|
-
"@codingame/monaco-vscode-files-service-override": "1.85.
|
|
23
|
+
"@codingame/monaco-vscode-files-service-override": "1.85.3"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -12,7 +12,7 @@ import { KeybindingParser } from '../../../../base/common/keybindingParser.js';
|
|
|
12
12
|
import { KeyCodeChord, ScanCodeChord } from 'monaco-editor/esm/vs/base/common/keybindings.js';
|
|
13
13
|
import { KeyCodeUtils, ScanCodeUtils, IMMUTABLE_CODE_TO_KEY_CODE } from 'monaco-editor/esm/vs/base/common/keyCodes.js';
|
|
14
14
|
import { DisposableStore, Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
15
|
-
import * as
|
|
15
|
+
import * as Objects from 'monaco-editor/esm/vs/base/common/objects.js';
|
|
16
16
|
import { OS, isMacintosh } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
17
17
|
import { dirname } from 'monaco-editor/esm/vs/base/common/resources.js';
|
|
18
18
|
import { mainWindow } from 'monaco-editor/esm/vs/base/browser/window.js';
|
|
@@ -714,7 +714,7 @@ class UserKeybindings extends Disposable {
|
|
|
714
714
|
}
|
|
715
715
|
async reload() {
|
|
716
716
|
const newKeybindings = await this.readUserKeybindings();
|
|
717
|
-
if (
|
|
717
|
+
if (Objects.equals(this._rawKeybindings, newKeybindings)) {
|
|
718
718
|
return false;
|
|
719
719
|
}
|
|
720
720
|
this._rawKeybindings = newKeybindings;
|
|
@@ -12,7 +12,7 @@ import { MacLinuxKeyboardMapper } from '../common/macLinuxKeyboardMapper.js';
|
|
|
12
12
|
import { IFileService } from 'monaco-editor/esm/vs/platform/files/common/files.js';
|
|
13
13
|
import { RunOnceScheduler } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
14
14
|
import { parse, getNodeType } from 'monaco-editor/esm/vs/base/common/json.js';
|
|
15
|
-
import * as
|
|
15
|
+
import * as Objects from 'monaco-editor/esm/vs/base/common/objects.js';
|
|
16
16
|
import { IEnvironmentService } from 'monaco-editor/esm/vs/platform/environment/common/environment.js';
|
|
17
17
|
import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
18
18
|
import { Extensions } from 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
|
|
@@ -378,7 +378,7 @@ class UserKeyboardLayout extends Disposable {
|
|
|
378
378
|
catch (e) {
|
|
379
379
|
this._keyboardLayout = null;
|
|
380
380
|
}
|
|
381
|
-
return existing ? !
|
|
381
|
+
return existing ? !Objects.equals(existing, this._keyboardLayout) : true;
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
384
|
let BrowserKeyboardLayoutService = class BrowserKeyboardLayoutService extends Disposable {
|