Skip to content

Commit a6b0089

Browse files
committed
fix
1 parent b49782a commit a6b0089

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

navigator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ namespace user_interface_base {
110110
break
111111
}
112112
}
113+
113114
const btn = this.buttonGroups[this.row][this.col]
114115
this.reportAria(btn)
115116
return btn
@@ -228,8 +229,7 @@ namespace user_interface_base {
228229
}
229230

230231
public getCurrent(): Button {
231-
const index = this.widths.slice(0, this.row).reduce((p, c) => p + c, 0)
232-
return this.buttonGroups[0][index + this.col]
232+
return this.buttonGroups[this.row][this.col];
233233
}
234234
}
235235

0 commit comments

Comments
 (0)