From 1d1c5e2d8ee219f378b9b69a72a9d6336b254b88 Mon Sep 17 00:00:00 2001 From: Nick Dong Date: Wed, 26 Jul 2017 11:39:28 +0700 Subject: [PATCH] Fix 'titleColor' attribute name for UIButton https://github.com/cocos2d/cocos2d-html5/blob/develop/extensions/ccui/uiwidgets/UIButton.js#L803 --- extensions/ccui/uiwidgets/UIButton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/ccui/uiwidgets/UIButton.js b/extensions/ccui/uiwidgets/UIButton.js index 4feff73686..4741e2e767 100644 --- a/extensions/ccui/uiwidgets/UIButton.js +++ b/extensions/ccui/uiwidgets/UIButton.js @@ -33,7 +33,7 @@ * @property {String} titleFont - The content string font of the button title * @property {Number} titleFontSize - The content string font size of the button title * @property {String} titleFontName - The content string font name of the button title - * @property {cc.Color} titleFontColor - The content string font color of the button title + * @property {cc.Color} titleColor - The content string font color of the button title * @property {Boolean} pressedActionEnabled - Indicate whether button has zoom effect when clicked */ ccui.Button = ccui.Widget.extend(/** @lends ccui.Button# */{