mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Round reftest repeat values
This commit is contained in:
parent
c287f51cb6
commit
82cfcf8704
@ -137,11 +137,11 @@ class RefTestRenderer implements RenderTarget<string> {
|
|||||||
offsetY: number
|
offsetY: number
|
||||||
) {
|
) {
|
||||||
this.writeLine(
|
this.writeLine(
|
||||||
`Repeat: ${this.formatImage(
|
`Repeat: ${this.formatImage(image)} [${Math.round(offsetX)}, ${Math.round(
|
||||||
image
|
offsetY
|
||||||
)} [${offsetX}, ${offsetY}] Size (${imageSize.width}, ${imageSize.height}) ${this.formatPath(
|
)}] Size (${Math.round(imageSize.width)}, ${Math.round(
|
||||||
path
|
imageSize.height
|
||||||
)}`
|
)}) ${this.formatPath(path)}`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user