mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Merge pull request #144035 from apeltop/change-to-camelcase
chore: hasfocus -> hasFocus
This commit is contained in:
@@ -506,7 +506,7 @@ export class DebugEditorContribution implements IDebugEditorContribution {
|
||||
|
||||
closeExceptionWidget(): void {
|
||||
if (this.exceptionWidget) {
|
||||
const shouldFocusEditor = this.exceptionWidget.hasfocus();
|
||||
const shouldFocusEditor = this.exceptionWidget.hasFocus();
|
||||
this.exceptionWidget.dispose();
|
||||
this.exceptionWidget = undefined;
|
||||
this.exceptionWidgetVisible.set(false);
|
||||
|
||||
@@ -121,7 +121,7 @@ export class ExceptionWidget extends ZoneWidget {
|
||||
this.container?.focus();
|
||||
}
|
||||
|
||||
hasfocus(): boolean {
|
||||
hasFocus(): boolean {
|
||||
return dom.isAncestor(document.activeElement, this.container);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user