mirror of
https://github.com/penpot/penpot.git
synced 2026-05-03 07:08:44 +00:00
Merge pull request #6745 from penpot/superalex-bug-fix-text-image-strokes
🐛 Fix image fill strokes are not rendered correctly for texts
This commit is contained in:
commit
f1a6b46165
@ -534,7 +534,10 @@ pub fn render(
|
||||
let path_transform = shape.to_path_transform();
|
||||
let svg_attrs = &shape.svg_attrs;
|
||||
|
||||
if shadow.is_none() && matches!(stroke.fill, Fill::Image(_)) {
|
||||
if !matches!(shape.shape_type, Type::Text(_))
|
||||
&& shadow.is_none()
|
||||
&& matches!(stroke.fill, Fill::Image(_))
|
||||
{
|
||||
if let Fill::Image(image_fill) = &stroke.fill {
|
||||
draw_image_stroke_in_container(render_state, shape, stroke, image_fill, antialias);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user