🐛 Fix rendering vertical and horizontal paths

This commit is contained in:
Alejandro Alonso 2025-06-06 08:23:14 +02:00
parent a9702f104d
commit 8db910baee

View file

@ -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 {