修复迷之bug

This commit is contained in:
unanmed 2022-07-20 23:41:40 +08:00 committed by lizhuoyuan
parent 364101adfa
commit 1af45b5de2

View File

@ -1751,7 +1751,7 @@ maps.prototype._drawThumbnail_drawTempCanvas = function (floorId, blocks, option
if (centerY == null) centerY = Math.floor(height / 2);
var offsetX = core.clamp(centerX - core.__HALF_SIZE__, 0, width - core.__SIZE__),
offsetY = core.clamp(centerY - core.__HALF_SIZE__, 0, height - core.__SIZE__);
tempCanvas.translate(-32 * offsetX, -32 * offsetY, false, true);
tempCanvas.translate(-32 * offsetX, -32 * offsetY);
} else {
options.v2 = false;
if (options.noHD) {