mirror of
https://github.com/penpot/penpot.git
synced 2026-05-28 11:23:42 +00:00
🐛 Fix rendering vertical and horizontal paths
This commit is contained in:
parent
a9702f104d
commit
8db910baee
@ -608,7 +608,7 @@ impl Shape {
|
|||||||
|
|
||||||
pub fn visually_insignificant(&self, scale: f32) -> bool {
|
pub fn visually_insignificant(&self, scale: f32) -> bool {
|
||||||
let extrect = self.extrect();
|
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 {
|
pub fn should_use_antialias(&self, scale: f32) -> bool {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user