Skip to content

Commit

Permalink
fix compile errors caused by new base method
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Jun 7, 2023
1 parent aa3e6e8 commit 4e53a02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/vs/workbench/contrib/debug/browser/exceptionWidget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export class ExceptionWidget extends ZoneWidget {
this.container?.focus();
}

hasFocus(): boolean {
override hasFocus(): boolean {
return dom.isAncestor(document.activeElement, this.container);
}
}
2 changes: 1 addition & 1 deletion src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ class DirtyDiffWidget extends PeekViewWidget {
this.editor.revealLineInCenterIfOutsideViewport(range.endLineNumber, ScrollType.Smooth);
}

hasFocus(): boolean {
override hasFocus(): boolean {
return this.diffEditor.hasTextFocus();
}

Expand Down

0 comments on commit 4e53a02

Please sign in to comment.