Skip to content

Commit 0a6ceef

Browse files
committed
testing removal of self-imposed 15ms delay
1 parent 3abb4df commit 0a6ceef

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

screen.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ namespace user_interface_base {
194194
c
195195
])
196196
)
197-
basic.pause(15)
197+
// basic.pause(15)
198198
}
199199

200200
public static drawLineXfrm(
@@ -226,7 +226,7 @@ namespace user_interface_base {
226226
const c = shader(tx, ty)
227227
if (c) {
228228
Screen.setPixel(x, y, c)
229-
basic.pause(15)
229+
// basic.pause(15)
230230
}
231231
}
232232
}
@@ -240,7 +240,7 @@ namespace user_interface_base {
240240
c: number
241241
) {
242242
this.tryToSend(Buffer.fromArray([SCREEN_FN_ID_DRAW_RECT, x + Screen.HALF_WIDTH, y + Screen.HALF_HEIGHT, width, height, c]));
243-
basic.pause(15)
243+
// basic.pause(15)
244244
}
245245

246246
public static drawRectXfrm(
@@ -260,7 +260,7 @@ namespace user_interface_base {
260260
c: number
261261
) {
262262
this.tryToSend(Buffer.fromArray([SCREEN_FN_ID_FILL, c]))
263-
basic.pause(15)
263+
// basic.pause(15)
264264
}
265265

266266
public static fillRect(
@@ -271,7 +271,7 @@ namespace user_interface_base {
271271
c: number
272272
) {
273273
this.tryToSend(Buffer.fromArray([SCREEN_FN_ID_FILL_RECT, x + Screen.HALF_WIDTH, y + Screen.HALF_HEIGHT, width, height, c]))
274-
basic.pause(15)
274+
// basic.pause(15)
275275
}
276276

277277
public static fillRectXfrm(
@@ -463,7 +463,7 @@ namespace user_interface_base {
463463

464464
const c: number = (color == null) ? 0 : color;
465465
this.tryToSend(Buffer.fromArray([SCREEN_FN_ID_PRINT, x + Screen.HALF_WIDTH, y + Screen.HALF_HEIGHT, c]));
466-
basic.pause(15)
466+
// basic.pause(15)
467467
}
468468
}
469469
}

0 commit comments

Comments
 (0)