From 15320257e0307f0c101f0f5ff29a1706192255a5 Mon Sep 17 00:00:00 2001 From: oc Date: Thu, 4 Apr 2019 23:32:23 +0800 Subject: [PATCH] api --- _docs/script.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_docs/script.md b/_docs/script.md index 817a68a6..ce1d6b42 100644 --- a/_docs/script.md +++ b/_docs/script.md @@ -224,8 +224,8 @@ function () { ```js // 重写ui.js中的_drawBook_drawBackground函数 core.ui._drawBook_drawBackground = function () { - // core.__PIXEL__为定义的一个宏,对于13x13的值是416,对于15x15的值是480 - core.drawBackground(0, 0, core.__PIXEL__, core.__PIXEL__); + // core.__PIXELS__为定义的一个宏,对于13x13的值是416,对于15x15的值是480 + core.drawBackground(0, 0, core.__PIXELS__, core.__PIXELS__); } ```