diff --git a/cocos/scripting/js-bindings/script/studio/parsers/uiParser-1.x.js b/cocos/scripting/js-bindings/script/studio/parsers/uiParser-1.x.js index c14763e875..4f88976592 100644 --- a/cocos/scripting/js-bindings/script/studio/parsers/uiParser-1.x.js +++ b/cocos/scripting/js-bindings/script/studio/parsers/uiParser-1.x.js @@ -662,6 +662,13 @@ var va = options["vAlignment"]; if(va) widget.setTextVerticalAlignment(va); + + var r = options["colorR"]; + var g = options["colorG"]; + var b = options["colorB"]; + if (r !== undefined && g !== undefined && b !== undefined) { + widget.setTextColor(cc.color(r, g, b)); + } }; var register = [ diff --git a/web b/web index 9f65531571..56c240983a 160000 --- a/web +++ b/web @@ -1 +1 @@ -Subproject commit 9f65531571443d7ea81beb86c3a7b5c2659057d0 +Subproject commit 56c240983a8c7a6b221f840e3c45ed3d733ef102