mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-04-09 14:54:04 +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";
|
||||
|
||||
constructor(width, height, preInit) {
|
||||
preInit?.(this);
|
||||
minMax = MIN_MAX_INIT.slice();
|
||||
|
||||
constructor(width, height) {
|
||||
this.clipBox = new Float32Array([0, 0, width, height]);
|
||||
this.minMax = MIN_MAX_INIT.slice();
|
||||
}
|
||||
|
||||
clone() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user