Skip to content

Commit 48c3c3c

Browse files
authored
Merge pull request #3507 from thuydx55/patch-3
Fix 'titleColor' attribute name for UIButton
2 parents d7cefcc + 1d1c5e2 commit 48c3c3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: extensions/ccui/uiwidgets/UIButton.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* @property {String} titleFont - The content string font of the button title
3434
* @property {Number} titleFontSize - The content string font size of the button title
3535
* @property {String} titleFontName - The content string font name of the button title
36-
* @property {cc.Color} titleFontColor - The content string font color of the button title
36+
* @property {cc.Color} titleColor - The content string font color of the button title
3737
* @property {Boolean} pressedActionEnabled - Indicate whether button has zoom effect when clicked
3838
*/
3939
ccui.Button = ccui.Widget.extend(/** @lends ccui.Button# */{

0 commit comments

Comments
 (0)