Skip to content

Commit 4e53a02

Browse files
committed
fix compile errors caused by new base method
1 parent aa3e6e8 commit 4e53a02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/vs/workbench/contrib/debug/browser/exceptionWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export class ExceptionWidget extends ZoneWidget {
122122
this.container?.focus();
123123
}
124124

125-
hasFocus(): boolean {
125+
override hasFocus(): boolean {
126126
return dom.isAncestor(document.activeElement, this.container);
127127
}
128128
}

src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ class DirtyDiffWidget extends PeekViewWidget {
467467
this.editor.revealLineInCenterIfOutsideViewport(range.endLineNumber, ScrollType.Smooth);
468468
}
469469

470-
hasFocus(): boolean {
470+
override hasFocus(): boolean {
471471
return this.diffEditor.hasTextFocus();
472472
}
473473

0 commit comments

Comments
 (0)