repo: janusweb action: commit revision: path_from: revision_from: 8ce04aa872966f8f506b921cd5471c4282c20429: path_to: revision_to:
commit 8ce04aa872966f8f506b921cd5471c4282c20429 Author: James BaicoianuDate: Tue Dec 21 20:21:16 2021 -0800 Expose more text attributes diff --git a/scripts/text.js b/scripts/text.js
--- a/scripts/text.js
+++ b/scripts/text.js
@@ -219,7 +219,6 @@ elation.require(['engine.things.label'], function() {
text: [ 'property', 'text'],
col: [ 'property', 'color'],
emissive: [ 'property', 'emissive'],
- font: [ 'property', 'font'],
bevel: [ 'property', 'bevel'],
bevel_thickness: [ 'property', 'bevel_thickness'],
bevel_size: [ 'property', 'bevel_size'],
@@ -228,6 +227,12 @@ elation.require(['engine.things.label'], function() {
roughness: [ 'property', 'roughness'],
metalness: [ 'property', 'metalness'],
envmap_id: [ 'property', 'envmap_id'],
+ font: [ 'property', 'font'],
+ font_size: [ 'property', 'font_size'],
+ font_scale: [ 'property', 'font_scale'],
+ align: [ 'property', 'align'],
+ verticalalign: [ 'property', 'verticalalign'],
+ zalign: [ 'property', 'zalign'],
};
}
return this._proxyobject;
-----END OF PAGE-----