Skip to content

Commit

Permalink
Fix reftest precision
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasvh committed Aug 10, 2017
1 parent 5bd0689 commit 97b0a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/RefTestRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 97b0a1f

Please sign in to comment.