1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Access the bbox/background data correctly in the MeshShadingPattern class (issue 18816)

This appears to have regressed in PR 13808, since it removed the `matrix`-entry from array returned by the `MeshShading.prototype.getIR` method *without* also updating the indexes in the `MeshShadingPattern` constructor.
This commit is contained in:
Jonas Jenwald 2025-01-08 13:23:43 +01:00
parent 115af68f10
commit 916fff0e42
4 changed files with 10 additions and 2 deletions

View file

@ -313,8 +313,8 @@ class MeshShadingPattern extends BaseShadingPattern {
this._colors = IR[3];
this._figures = IR[4];
this._bounds = IR[5];
this._bbox = IR[7];
this._background = IR[8];
this._bbox = IR[6];
this._background = IR[7];
this.matrix = null;
}