Skip to content

Commit 0dd07c2

Browse files
committed
debugging print outs
1 parent 327de49 commit 0dd07c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

navigator.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ namespace user_interface_base {
167167
}
168168

169169
public addButtons(btns: Button[]) {
170-
this.buttonGroups[0].concat(btns)
170+
this.buttonGroups.push(btns)
171171
}
172172

173173
public move(dir: CursorDir) {
@@ -216,9 +216,9 @@ namespace user_interface_base {
216216
}
217217
}
218218

219-
const index = this.widths.slice(0, this.row).reduce((p, c) => p + c, 0)
219+
// const index = this.widths.slice(0, this.row).reduce((p, c) => p + c, 0)
220220

221-
const btn = this.buttonGroups[0][index + this.col]
221+
const btn = this.buttonGroups[this.row][this.col]
222222
this.reportAria(btn)
223223
return btn
224224
}

0 commit comments

Comments
 (0)