fix text input shader

This commit is contained in:
Kevin Ngo
2018-10-19 21:11:34 -07:00
parent b78e07ae3f
commit 8a43359842
2 changed files with 2 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ AFRAME.registerComponent('super-keyboard', {
// Create input.
this.textInput = document.createElement('a-entity');
this.textInput.setAttribute('mixin', 'superKeyboardTextInput');
this.textInput.setAttribute('text', {
align: this.data.align,
font: this.data.font,