Skip to content

Commit d7e3eeb

Browse files
committed
screen.ts: added radio.send() test to fillRect().
1 parent 25ce135 commit d7e3eeb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

screen.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
namespace user_interface_base {
1+
namespace user_interface_base {
22
export class Screen {
33
private static image_: Bitmap
44

55
public static WIDTH = screen().width
66
public static HEIGHT = screen().height
77
public static HALF_WIDTH = screen().width >> 1
8-
public static HALF_HEIGHT = screen().height >> 1
8+
public static HALF_HEIGHT = screen().height >> 1
99
public static LEFT_EDGE = -Screen.HALF_WIDTH
1010
public static RIGHT_EDGE = Screen.HALF_WIDTH
1111
public static TOP_EDGE = -Screen.HALF_HEIGHT
@@ -135,6 +135,7 @@
135135
height: number,
136136
c: number
137137
) {
138+
radio.sendString("hi");
138139
Screen.image.drawRect(Screen.x(x), Screen.y(y), width, height, c)
139140
}
140141

0 commit comments

Comments
 (0)