{"action":"opened","issue":{"url":"https://api.github.com/repos/cocos2d/cocos2d-js/issues/1372","labels_url":"https://api.github.com/repos/cocos2d/cocos2d-js/issues/1372/labels{/name}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-js/issues/1372/comments","events_url":"https://api.github.com/repos/cocos2d/cocos2d-js/issues/1372/events","html_url":"https://github.com/cocos2d/cocos2d-js/issues/1372","id":55128463,"number":1372,"title":"enableShadow with arguments make the title of a button invisible","user":{"login":"joshuastray","id":2784749,"avatar_url":"https://avatars.githubusercontent.com/u/2784749?v=3","gravatar_id":"","url":"https://api.github.com/users/joshuastray","html_url":"https://github.com/joshuastray","followers_url":"https://api.github.com/users/joshuastray/followers","following_url":"https://api.github.com/users/joshuastray/following{/other_user}","gists_url":"https://api.github.com/users/joshuastray/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuastray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuastray/subscriptions","organizations_url":"https://api.github.com/users/joshuastray/orgs","repos_url":"https://api.github.com/users/joshuastray/repos","events_url":"https://api.github.com/users/joshuastray/events{/privacy}","received_events_url":"https://api.github.com/users/joshuastray/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-22T08:52:21Z","updated_at":"2015-01-22T08:52:21Z","closed_at":null,"body":"\r\n```\r\nvar title = button.getTitleRenderer();\r\nbutton.setTitleColor(cc.color.RED);\r\n//title is invisible\r\ntitle.enableShadow(cc.color.BLACK, cc.p(2.0,-2.0)); \r\n\r\n//this is ok\r\n//title.enableShadow();\r\n```"}}