mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Rename some variables.
This commit is contained in:
parent
db4a11e568
commit
5cfe97611f
2 changed files with 8 additions and 8 deletions
|
@ -167,12 +167,12 @@ var PDFImage = (function PDFImageClosure() {
|
|||
};
|
||||
|
||||
PDFImage.prototype = {
|
||||
get maxWidth() {
|
||||
get drawWidth() {
|
||||
if (!this.smask)
|
||||
return this.width;
|
||||
return Math.max(this.width, this.smask.width);
|
||||
},
|
||||
get maxHeight() {
|
||||
get drawHeight() {
|
||||
if (!this.smask)
|
||||
return this.height;
|
||||
return Math.max(this.height, this.smask.height);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue