зеркало из https://github.com/mozilla/Spoke.git
Updated text property to "value" to align with the client
This commit is contained in:
Родитель
43ec117172
Коммит
3352c337ca
|
@ -165,7 +165,7 @@ export default class TroikaTextNode extends EditorNodeMixin(Object3D) {
|
||||||
const clipRect = !clipRectMinMax.every(value => value == 0) ? clipRectMinMax : null;
|
const clipRect = !clipRectMinMax.every(value => value == 0) ? clipRectMinMax : null;
|
||||||
|
|
||||||
this.addGLTFComponent("text", {
|
this.addGLTFComponent("text", {
|
||||||
text: this.text,
|
value: this.text,
|
||||||
anchorX: this.anchorX,
|
anchorX: this.anchorX,
|
||||||
anchorY: this.anchorY,
|
anchorY: this.anchorY,
|
||||||
color: this.color,
|
color: this.color,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче