We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e912e4f commit bbb0f39Copy full SHA for bbb0f39
src/components/layer.js
@@ -335,7 +335,7 @@ export var Component = registerComponent('layer', {
335
quadPanelEl.setAttribute('geometry', {
336
primitive: 'plane',
337
height: this.data.height || this.texture.image.height / 1000,
338
- width: this.data.width || this.texture.image.height / 1000
+ width: this.data.width || this.texture.image.width / 1000
339
});
340
},
341
0 commit comments