mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-04-18 11:14:02 +02:00
Merge pull request #21090 from calixteman/issue21089
Remove pattern fill when setting fill color before drawing a tile
This commit is contained in:
commit
006931f3d3
@ -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;
|
||||
|
||||
1
test/pdfs/issue21089.pdf.link
Normal file
1
test/pdfs/issue21089.pdf.link
Normal file
@ -0,0 +1 @@
|
||||
https://github.com/user-attachments/files/26655885/stepped.pdf
|
||||
@ -14097,5 +14097,13 @@
|
||||
"value": "123"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "issue21089",
|
||||
"file": "pdfs/issue21089.pdf",
|
||||
"md5": "0ae3954d2f24151dfc36ef717c8afbde",
|
||||
"link": true,
|
||||
"rounds": 1,
|
||||
"type": "eq"
|
||||
}
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user