修复迷之bug
This commit is contained in:
parent
364101adfa
commit
1af45b5de2
@ -1751,7 +1751,7 @@ maps.prototype._drawThumbnail_drawTempCanvas = function (floorId, blocks, option
|
|||||||
if (centerY == null) centerY = Math.floor(height / 2);
|
if (centerY == null) centerY = Math.floor(height / 2);
|
||||||
var offsetX = core.clamp(centerX - core.__HALF_SIZE__, 0, width - core.__SIZE__),
|
var offsetX = core.clamp(centerX - core.__HALF_SIZE__, 0, width - core.__SIZE__),
|
||||||
offsetY = core.clamp(centerY - core.__HALF_SIZE__, 0, height - 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 {
|
} else {
|
||||||
options.v2 = false;
|
options.v2 = false;
|
||||||
if (options.noHD) {
|
if (options.noHD) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user