mirror of
https://github.com/penpot/penpot.git
synced 2025-07-18 22:17:23 +02:00
🐛 Fix rendering vertical and horizontal paths
This commit is contained in:
parent
a9702f104d
commit
8db910baee
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue