From 9a9f8d114fa26f21d1830e1aad80562c4b535216 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Thu, 23 Jun 2022 21:26:44 -0500 Subject: [PATCH] f --- src/pixie/paths.nim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/pixie/paths.nim b/src/pixie/paths.nim index 008a806..346ee0c 100644 --- a/src/pixie/paths.nim +++ b/src/pixie/paths.nim @@ -1180,13 +1180,11 @@ proc partitionSegments( for partition in result.mitems: partition.requiresAntiAliasing = requiresAntiAliasing(partition.entries) - - let - top = partition.top.float32 - bottom = partition.bottom.float32 if partition.entries.len == 2: # Clip the entries to the parition bounds let + top = partition.top.float32 + bottom = partition.bottom.float32 topLine = line(vec2(0, top), vec2(1000, top)) bottomLine = line(vec2(0, bottom), vec2(1000, bottom)) for entry in partition.entries.mitems: