Fix bug
This commit is contained in:
parent
019b99396a
commit
4390ed92ce
@ -258,7 +258,7 @@ events.prototype._gameOver_askRate = function (ending) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
core.ui.drawConfirmBox("恭喜通关!你想查看榜单、评论,以及评分和标色投票吗?", function () {
|
core.ui.drawConfirmBox("恭喜通关!你想查看榜单、评论,\n以及评分和标色投票吗?", function () {
|
||||||
if (core.platform.isPC) {
|
if (core.platform.isPC) {
|
||||||
window.open("/tower/?name=" + core.firstData.name, "_blank");
|
window.open("/tower/?name=" + core.firstData.name, "_blank");
|
||||||
core.restart();
|
core.restart();
|
||||||
|
|||||||
@ -1780,7 +1780,7 @@ maps.prototype._drawThumbnail_realDrawTempCanvas = function (floorId, blocks, op
|
|||||||
options.heroIcon = core.getMappedName(options.heroIcon);
|
options.heroIcon = core.getMappedName(options.heroIcon);
|
||||||
var icon = core.material.icons.hero[options.heroLoc.direction];
|
var icon = core.material.icons.hero[options.heroLoc.direction];
|
||||||
var height = core.material.images.images[options.heroIcon].height / 4;
|
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,
|
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);
|
32 * options.heroLoc.x + 32 - width, 32 * options.heroLoc.y + 32 - height, width, height);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user