提交 56109c8a 编写于 作者: S SteVen Batten

fix console error when compact and navigating menu

上级 d98f650e
......@@ -698,7 +698,7 @@ export class MenuBar extends Disposable {
private focusPrevious(): void {
if (!this.focusedMenu) {
if (!this.focusedMenu || this.numMenusShown === 0) {
return;
}
......@@ -728,7 +728,7 @@ export class MenuBar extends Disposable {
}
private focusNext(): void {
if (!this.focusedMenu) {
if (!this.focusedMenu || this.numMenusShown === 0) {
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册