From a7795302fcf94fe31d116d81b56b172511773f7d Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Mon, 30 Oct 2017 18:54:53 +0000 Subject: [PATCH] Make it compile with master --- libs/core/screen.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/core/screen.ts b/libs/core/screen.ts index 08584b26..3f9dad5a 100644 --- a/libs/core/screen.ts +++ b/libs/core/screen.ts @@ -27,7 +27,7 @@ namespace brick { currFont = f } - export const heart = imageOf(hex`f007 367f7f3e1c08`) + export const heart = screen.imageOf(hex`f007 367f7f3e1c08`) export function defaultFont(): Font { return { @@ -112,7 +112,7 @@ namespace brick { let byteWidth = (currFont.charWidth + 7) >> 3 let charSize = byteWidth * currFont.charHeight let imgBuf = output.createBuffer(2 + charSize) - let img = imageOf(imgBuf) + let img = screen.imageOf(imgBuf) let double = (mode & Draw.Quad) ? 4 : (mode & Draw.Double) ? 2 : 1 imgBuf[0] = 0xf0 imgBuf[1] = currFont.charWidth