repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 8ce04aa872966f8f506b921cd5471c4282c20429:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 8ce04aa872966f8f506b921cd5471c4282c20429
Author: James Baicoianu 
Date:   Tue Dec 21 20:21:16 2021 -0800

    Expose more text attributes

diff --git a/scripts/text.js b/scripts/text.js
index a456e3d7dde1cd36e91375ff3b1b9cecacd62b88..
index ..6b653db3dd3b96f3922c796ead5c18caa5e935e0 100644
--- 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-----