Skip to content

Commit f701432

Browse files
committed
scene.ts changes for MicroData debugging
1 parent 439dd7e commit f701432

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

screen.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,9 @@ namespace user_interface_base {
203203
) {
204204
// basic.showNumber(SCREEN_FN_ID_FILL_RECT);
205205

206-
const b = Buffer.fromArray([SCREEN_FN_ID_FILL_RECT, x, y, width, height, c])
206+
const b = Buffer.fromArray([SCREEN_FN_ID_FILL_RECT, x + Screen.HALF_WIDTH, y + Screen.HALF_HEIGHT, width, height, c])
207207

208+
// -80, -64, 176, 192
208209
basic.showString("S")
209210
basic.showNumber(x)
210211
basic.showString("p")

0 commit comments

Comments
 (0)