1
0
mirror of https://github.com/niklasvh/html2canvas.git synced 2023-08-10 21:13:10 +03:00

Fix reftest precision

This commit is contained in:
MoyuScript 2017-08-10 23:26:01 +08:00
parent c886ae8528
commit 70b46d55be

@ -119,7 +119,7 @@ class RefTestRenderer implements RenderTarget<string> {
];
const stops = gradient.colorStops.map(
stop => `${stop.color.toString()} ${Math.round(stop.stop * 100) / 100}`
stop => `${stop.color.toString()} ${Math.ceil(stop.stop * 100) / 100}`
);
this.writeLine(