Skip to content

Commit 3bd5d0c

Browse files
committed
💄 formatting
1 parent d812b91 commit 3bd5d0c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/vs/workbench/contrib/preferences/browser/keybindingWidgets.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ export class KeybindingsSearchWidget extends SearchWidget {
5959
@IKeybindingService keybindingService: IKeybindingService,
6060
) {
6161
super(parent, options, contextViewService, instantiationService, contextKeyService, keybindingService);
62+
6263
this._register(toDisposable(() => this.stopRecordingKeys()));
64+
6365
this._chords = null;
6466
this._inputValue = '';
6567

@@ -247,19 +249,15 @@ export class DefineKeybindingWidget extends Widget {
247249
dom.clearNode(this._outputNode);
248250
dom.clearNode(this._showExistingKeybindingsNode);
249251

250-
251-
252252
const firstLabel = new KeybindingLabel(this._outputNode, OS, defaultKeybindingLabelStyles);
253253
firstLabel.set(withNullAsUndefined(this._chords?.[0]));
254254

255-
256255
if (this._chords) {
257256
for (let i = 1; i < this._chords.length; i++) {
258257
this._outputNode.appendChild(document.createTextNode(nls.localize('defineKeybinding.chordsTo', "chord to")));
259258
const chordLabel = new KeybindingLabel(this._outputNode, OS, defaultKeybindingLabelStyles);
260259
chordLabel.set(this._chords[i]);
261260
}
262-
263261
}
264262

265263
const label = this.getUserSettingsLabel();

0 commit comments

Comments
 (0)