mirror of
https://github.com/penpot/penpot.git
synced 2025-07-13 20:57:16 +02:00
✨ Small cosmetic change
This commit is contained in:
parent
36b6f6323a
commit
a45886c86c
1 changed files with 3 additions and 2 deletions
|
@ -119,11 +119,12 @@ pub fn draw_stroke_on_path(
|
|||
antialias: bool,
|
||||
) {
|
||||
let mut skia_path = path.to_skia_path();
|
||||
skia_path.transform(path_transform.unwrap());
|
||||
skia_path.transform(path_transform.unwrap_or(&Matrix::default()));
|
||||
|
||||
let is_open = path.is_open();
|
||||
|
||||
let mut paint: skia_safe::Handle<_> =
|
||||
stroke.to_stroked_paint(path.is_open(), selrect, svg_attrs, scale, antialias);
|
||||
stroke.to_stroked_paint(is_open, selrect, svg_attrs, scale, antialias);
|
||||
|
||||
if let Some(filter) = shadow {
|
||||
paint.set_image_filter(filter.clone());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue