Merge pull request #7029 from penpot/elenatorro-11691-fix-default-text-fill

🔧 Fix text default color and inner stroke opacity
This commit is contained in:
Alejandro Alonso
2025-08-13 12:52:14 +02:00
committed by GitHub
5 changed files with 74 additions and 37 deletions

View File

@@ -499,18 +499,6 @@ impl RenderState {
text::render(self, &shape, &mut paragraphs, None, None);
if shape.has_visible_inner_strokes() {
// Inner strokes paints need the text fill to apply correctly their blend modes
// (e.g., SrcATop, DstOver)
text::render(
self,
&shape,
&mut paragraphs,
Some(SurfaceId::Strokes),
None,
);
}
for stroke in shape.visible_strokes().rev() {
let mut stroke_paragraphs =
text_content.get_skia_stroke_paragraphs(stroke, &shape.selrect());