|
@@ -155,7 +155,7 @@ export class Scene implements Disposable {
|
|
|
// this.resultMat[12] = tx
|
|
// this.resultMat[12] = tx
|
|
|
// this.resultMat[13] = ty
|
|
// this.resultMat[13] = ty
|
|
|
|
|
|
|
|
- let rate = this.width > this.height ? 0.6 : 0.7;
|
|
|
|
|
|
|
+ let rate = this.width > this.height ? 0.7 : 0.8;
|
|
|
let scaleX = (this.width * rate) / this.contentWidth;
|
|
let scaleX = (this.width * rate) / this.contentWidth;
|
|
|
let scaleY = (this.height * rate) / this.contentHeight;
|
|
let scaleY = (this.height * rate) / this.contentHeight;
|
|
|
let scale = Math.min(scaleX, scaleY);
|
|
let scale = Math.min(scaleX, scaleY);
|