mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-30 19:07:22 +02:00
Merge pull request #20980 from Snuffleupagus/CanvasExtraState-rm-preInit
Remove unused `preInit` parameter from the `CanvasExtraState` constructor (PR 19043 follow-up)
This commit is contained in:
commit
9be671dbbd
@ -333,11 +333,10 @@ class CanvasExtraState {
|
|||||||
|
|
||||||
transferMaps = "none";
|
transferMaps = "none";
|
||||||
|
|
||||||
constructor(width, height, preInit) {
|
minMax = MIN_MAX_INIT.slice();
|
||||||
preInit?.(this);
|
|
||||||
|
|
||||||
|
constructor(width, height) {
|
||||||
this.clipBox = new Float32Array([0, 0, width, height]);
|
this.clipBox = new Float32Array([0, 0, width, height]);
|
||||||
this.minMax = MIN_MAX_INIT.slice();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
clone() {
|
clone() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user