Round reftest repeat values

This commit is contained in:
Niklas von Hertzen 2017-08-10 21:58:56 +08:00
parent c287f51cb6
commit 82cfcf8704

View File

@ -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)}`
); );
} }