mirror of
https://github.com/penpot/penpot.git
synced 2025-07-23 03:47:12 +02:00
🐛 Fix stroke image rendering (#6189)
This commit is contained in:
parent
76ffc2d268
commit
3d7479f9aa
2 changed files with 9 additions and 3 deletions
|
@ -116,8 +116,8 @@ impl Stroke {
|
|||
pub fn delta(&self) -> f32 {
|
||||
match self.kind {
|
||||
StrokeKind::InnerStroke => 0.,
|
||||
StrokeKind::CenterStroke => self.width / 2.,
|
||||
StrokeKind::OuterStroke => self.width,
|
||||
StrokeKind::CenterStroke => self.width,
|
||||
StrokeKind::OuterStroke => self.width * 2.,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue