From 595eb788b28ffe71c555346f7e6931b35b909f94 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Tue, 17 Jan 2017 16:51:21 -0800 Subject: [PATCH] removed console.log for pxt.debug --- sim/state/ledmatrix.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/state/ledmatrix.ts b/sim/state/ledmatrix.ts index c2e628f9..53c3b06f 100644 --- a/sim/state/ledmatrix.ts +++ b/sim/state/ledmatrix.ts @@ -28,7 +28,7 @@ namespace pxsim { this.data = data; } public print() { - console.log(`Image id:${this.id} refs:${this.refcnt} size:${this.width}x${Image.height}`) + pxt.debug(`Image id:${this.id} refs:${this.refcnt} size:${this.width}x${Image.height}`) } public get(x: number, y: number): number { if (x < 0 || x >= this.width || y < 0 || y >= 5) return 0;