This commit is contained in:
ckcz123 2021-09-30 13:51:51 +08:00
parent 019b99396a
commit 4390ed92ce
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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);
}