fix drawScrollText

This commit is contained in:
oc 2019-04-20 00:56:13 +08:00
parent aa63329512
commit c74ba5c5c4
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ actions.prototype.doRegisteredAction = function (action) {
} }
catch (e) { catch (e) {
main.log(e); main.log(e);
main.log("ERROR in actions["+actions[i].name+"]"); main.log("ERROR in actions["+actions[i].name+"].");
} }
} }
return false; return false;

View File

@ -521,7 +521,7 @@ ui.prototype._drawBackground_drawWindowSkin = function (background, left, top, r
var image = core.material.images.images[background]; var image = core.material.images.images[background];
if (image.width==192 && image.height==128) { if (image.width==192 && image.height==128) {
core.setAlpha('ui', 0.85); core.setAlpha('ui', 0.85);
this.drawWindowSkin(image, 'ui', left, top, right - left, bottom - top, posInfo.position, px, py); this.drawWindowSkin(image, 'ui', left, top, right - left, bottom - top, position, px, py);
core.setAlpha('ui', 1); core.setAlpha('ui', 1);
return true; return true;
} }