Merge pull request #144035 from apeltop/change-to-camelcase

chore: hasfocus -> hasFocus
This commit is contained in:
Rob Lourens
2022-03-08 11:54:40 -08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -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);
}
}