diff --git a/libs/events.js b/libs/events.js index 77d35b54..155476e9 100644 --- a/libs/events.js +++ b/libs/events.js @@ -258,7 +258,7 @@ events.prototype._gameOver_askRate = function (ending) { return; } - core.ui.drawConfirmBox("恭喜通关!你想查看榜单、评论,以及评分和标色投票吗?", function () { + core.ui.drawConfirmBox("恭喜通关!你想查看榜单、评论,\n以及评分和标色投票吗?", function () { if (core.platform.isPC) { window.open("/tower/?name=" + core.firstData.name, "_blank"); core.restart(); diff --git a/libs/maps.js b/libs/maps.js index 4525b313..01571131 100644 --- a/libs/maps.js +++ b/libs/maps.js @@ -1780,7 +1780,7 @@ maps.prototype._drawThumbnail_realDrawTempCanvas = function (floorId, blocks, op options.heroIcon = core.getMappedName(options.heroIcon); var icon = core.material.icons.hero[options.heroLoc.direction]; var height = core.material.images.images[options.heroIcon].height / 4; - var width = core.material.images.images[options.heroIcon].width || 32; + var width = (core.material.images.images[options.heroIcon].width || 128) / 4; core.drawImage(options.ctx, core.material.images.images[options.heroIcon], icon.stop * width, icon.loc * height, width, height, 32 * options.heroLoc.x + 32 - width, 32 * options.heroLoc.y + 32 - height, width, height); }