Merge pull request #21090 from calixteman/issue21089

Remove pattern fill when setting fill color before drawing a tile
This commit is contained in:
Tim van der Meij 2026-04-12 14:42:49 +02:00 committed by GitHub
commit 006931f3d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 0 deletions

View File

@ -920,6 +920,7 @@ class TilingPattern {
setFillAndStrokeStyleToContext(graphics, paintType, color) {
const context = graphics.ctx,
current = graphics.current;
current.patternFill = current.patternStroke = false;
switch (paintType) {
case PaintType.COLORED:
const { fillStyle, strokeStyle } = this.ctx;

View File

@ -0,0 +1 @@
https://github.com/user-attachments/files/26655885/stepped.pdf

View File

@ -14097,5 +14097,13 @@
"value": "123"
}
}
},
{
"id": "issue21089",
"file": "pdfs/issue21089.pdf",
"md5": "0ae3954d2f24151dfc36ef717c8afbde",
"link": true,
"rounds": 1,
"type": "eq"
}
]