|
|
@ -175,7 +175,7 @@ export class ImageContent extends Content { |
|
|
(texture) => { |
|
|
(texture) => { |
|
|
this.texture = texture; |
|
|
this.texture = texture; |
|
|
const aspect = texture.image.width / texture.image.height; |
|
|
const aspect = texture.image.width / texture.image.height; |
|
|
const maxWidth = 6; |
|
|
const maxWidth = 4.5; |
|
|
const height = 4; |
|
|
const height = 4; |
|
|
let width = height * aspect; |
|
|
let width = height * aspect; |
|
|
if (width > maxWidth) { |
|
|
if (width > maxWidth) { |
|
|
|