Skip to content

Commit 18cc962

Browse files
committed
removal of half_width & half_height addition on .print()
1 parent de83c39 commit 18cc962

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

screen.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,11 +460,10 @@ namespace user_interface_base {
460460
offsets?: texteffects.TextEffectState[]
461461
) {
462462
basic.showString("S");
463-
464463
radio.sendString(text);
465464

466465
const c: number = (color == null) ? 0 : color;
467-
radio.sendBuffer(Buffer.fromArray([SCREEN_FN_ID_PRINT, x + Screen.HALF_WIDTH, y + Screen.HALF_HEIGHT, c]));
466+
radio.sendBuffer(Buffer.fromArray([SCREEN_FN_ID_PRINT, x, y, c]));
468467

469468
// Screen.image.print(
470469
// text,

0 commit comments

Comments
 (0)