From 5ca6f57aaef1f48e8e07e21c49d7695f893ac643 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Tue, 26 Jul 2022 12:47:58 -0500 Subject: [PATCH] fix --- experiments/bench_cairo.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experiments/bench_cairo.nim b/experiments/bench_cairo.nim index ee862fc..3cb0f04 100644 --- a/experiments/bench_cairo.nim +++ b/experiments/bench_cairo.nim @@ -174,7 +174,7 @@ block: # Tiger props.strokeDashArray, props.transform.pixelScale ) - let paint = newPaint(props.stroke) + let paint = props.stroke.copy() paint.color.a *= (props.opacity * props.strokeOpacity) fills.add(Fill( shapes: strokeShapes,