diff --git a/src/renderer/RefTestRenderer.js b/src/renderer/RefTestRenderer.js index aa086a9..b00aca3 100644 --- a/src/renderer/RefTestRenderer.js +++ b/src/renderer/RefTestRenderer.js @@ -119,7 +119,7 @@ class RefTestRenderer implements RenderTarget { ]; 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(