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
|
||||
) {
|
||||
this.writeLine(
|
||||
`Repeat: ${this.formatImage(
|
||||
image
|
||||
)} [${offsetX}, ${offsetY}] Size (${imageSize.width}, ${imageSize.height}) ${this.formatPath(
|
||||
path
|
||||
)}`
|
||||
`Repeat: ${this.formatImage(image)} [${Math.round(offsetX)}, ${Math.round(
|
||||
offsetY
|
||||
)}] Size (${Math.round(imageSize.width)}, ${Math.round(
|
||||
imageSize.height
|
||||
)}) ${this.formatPath(path)}`
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user