no wrap if no width and height
This commit is contained in:
@@ -38,6 +38,8 @@ export default class Cartographer {
|
||||
'wrap',
|
||||
]));
|
||||
|
||||
if (!this.width || !this.height) delete this.wrap;
|
||||
|
||||
this.checkScale(this.settings.canvasHeight, this.settings.canvasWidth);
|
||||
|
||||
this.setOriginX(this.settings.canvasWidth, this.settings.centerX);
|
||||
|
||||
Reference in New Issue
Block a user