|
|
|
@@ -5003,11 +5003,10 @@ function renderToCanvas() { |
|
|
|
ctx.rotate(entity.rotation); |
|
|
|
ctx.drawImage(img, -xSize/2, -ySize/2, xSize, ySize); |
|
|
|
ctx.restore(); |
|
|
|
ctx.drawImage(document.querySelector("#rulers"), 0, 0); |
|
|
|
ctx.translate(-xSize/2, -ySize/2); |
|
|
|
|
|
|
|
ctx.filter = oldFilter |
|
|
|
}); |
|
|
|
ctx.drawImage(document.querySelector("#rulers"), 0, 0); |
|
|
|
} |
|
|
|
|
|
|
|
function exportCanvas(callback) { |
|
|
|
|