We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 777251d + 39dd02c commit 9be671dCopy full SHA for 9be671d
1 file changed
src/display/canvas.js
@@ -333,11 +333,10 @@ class CanvasExtraState {
333
334
transferMaps = "none";
335
336
- constructor(width, height, preInit) {
337
- preInit?.(this);
+ minMax = MIN_MAX_INIT.slice();
338
+ constructor(width, height) {
339
this.clipBox = new Float32Array([0, 0, width, height]);
340
- this.minMax = MIN_MAX_INIT.slice();
341
}
342
343
clone() {
0 commit comments