Skip to content

Commit fab3638

Browse files
committed
ensuring row & col are always set for all navigators
1 parent eb0fb29 commit fab3638

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

navigator.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ namespace user_interface_base {
3131

3232
constructor() {
3333
this.buttonGroups = []
34+
this.row = 0;
35+
this.col = 0;
3436
}
3537

3638
public clear() {
@@ -302,7 +304,10 @@ namespace user_interface_base {
302304
protected row: number
303305
protected col: number
304306

305-
constructor(private picker: Picker) { }
307+
constructor(private picker: Picker) {
308+
this.row = 0;
309+
this.col = 0;
310+
}
306311

307312
private get width() {
308313
return this.picker.width

0 commit comments

Comments
 (0)