Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

Commit 20b328f

Browse files
committed
sensorSelect: adjusted positioning of buttons. Tested this non-jacdac-mode
1 parent dce9a56 commit 20b328f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sensorSelect.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ namespace microcode {
4949
//-----------------------------------------------------
5050

5151
let x: number = -60;
52-
let y: number = Screen.HEIGHT * -0.3125 // y = -40 on an Arcade Shield of height 128 pixels
52+
let y: number = Screen.HEIGHT * -0.30 // Decreased from y = -40 on an Arcade Shield of height 128 pixels
5353
for (let i = 0; i < icons.length; i++) {
5454
this.btns.push(new Button({
5555
parent: null,
@@ -116,7 +116,7 @@ namespace microcode {
116116
x += 30
117117
if (x > 60) {
118118
x = -60
119-
y += Screen.HEIGHT * 0.35 // 0.21875 // 28 on 128 pixel high Arcade Shield
119+
y += Screen.HEIGHT * 0.34 // 0.21875 // 28 on 128 pixel high Arcade Shield
120120
}
121121
}
122122

0 commit comments

Comments
 (0)