mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix rendering vertical and horizontal paths
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user