From 8db910baee582858de35bdfd82cc837c827c9afb Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Fri, 6 Jun 2025 08:23:14 +0200 Subject: [PATCH] :bug: Fix rendering vertical and horizontal paths --- render-wasm/src/shapes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render-wasm/src/shapes.rs b/render-wasm/src/shapes.rs index a51159362b..91bf209d85 100644 --- a/render-wasm/src/shapes.rs +++ b/render-wasm/src/shapes.rs @@ -608,7 +608,7 @@ impl Shape { pub fn visually_insignificant(&self, scale: f32) -> bool { let extrect = self.extrect(); - extrect.width() * scale < MIN_VISIBLE_SIZE || extrect.height() * scale < MIN_VISIBLE_SIZE + extrect.width() * scale < MIN_VISIBLE_SIZE && extrect.height() * scale < MIN_VISIBLE_SIZE } pub fn should_use_antialias(&self, scale: f32) -> bool {