mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-13 03:28:33 -05:00
Merge VS Code 1.31.1 (#4283)
This commit is contained in:
@@ -445,11 +445,11 @@ export class MacLinuxKeyboardMapper implements IKeyboardMapper {
|
||||
/**
|
||||
* UI label for a ScanCode.
|
||||
*/
|
||||
private readonly _scanCodeToLabel: (string | null)[] = [];
|
||||
private readonly _scanCodeToLabel: Array<string | null> = [];
|
||||
/**
|
||||
* Dispatching string for a ScanCode.
|
||||
*/
|
||||
private readonly _scanCodeToDispatch: (string | null)[] = [];
|
||||
private readonly _scanCodeToDispatch: Array<string | null> = [];
|
||||
|
||||
constructor(isUSStandard: boolean, rawMappings: IMacLinuxKeyboardMapping, OS: OperatingSystem) {
|
||||
this._isUSStandard = isUSStandard;
|
||||
@@ -800,7 +800,7 @@ export class MacLinuxKeyboardMapper implements IKeyboardMapper {
|
||||
for (let i = 0, len = kbCombos.length; i < len; i++) {
|
||||
const kbCombo = kbCombos[i];
|
||||
// find out the priority of this scan code for this key code
|
||||
let colPriority = '-';
|
||||
let colPriority: string;
|
||||
|
||||
const scanCodeCombos = this._scanCodeKeyCodeMapper.lookupKeyCodeCombo(kbCombo);
|
||||
if (scanCodeCombos.length === 1) {
|
||||
|
||||
Reference in New Issue
Block a user