{"action":"closed","number":16949,"pull_request":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/16949","id":96221687,"html_url":"https://github.com/cocos2d/cocos2d-x/pull/16949","diff_url":"https://github.com/cocos2d/cocos2d-x/pull/16949.diff","patch_url":"https://github.com/cocos2d/cocos2d-x/pull/16949.patch","issue_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/16949","number":16949,"state":"closed","locked":false,"title":"Scale9Sprite / Slider / LoadingBar fixes","user":{"login":"ricardoquesada","id":232330,"avatar_url":"https://avatars.githubusercontent.com/u/232330?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardoquesada","html_url":"https://github.com/ricardoquesada","followers_url":"https://api.github.com/users/ricardoquesada/followers","following_url":"https://api.github.com/users/ricardoquesada/following{/other_user}","gists_url":"https://api.github.com/users/ricardoquesada/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardoquesada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardoquesada/subscriptions","organizations_url":"https://api.github.com/users/ricardoquesada/orgs","repos_url":"https://api.github.com/users/ricardoquesada/repos","events_url":"https://api.github.com/users/ricardoquesada/events{/privacy}","received_events_url":"https://api.github.com/users/ricardoquesada/received_events","type":"User","site_admin":false},"body":"Fixes issues #16930 #16928 \r\n\r\nThere were different bugs:\r\n\r\n* cloning was not supported in the new API. Actually, the previous API was cloning inside the `init` method which was extremely confusing. Added `copyTo` in `Scale9Sprite`\r\n* fix negative streching\r\n* fix bug when calculating centerRect after the texRect was modified\r\n","created_at":"2016-12-02T04:52:14Z","updated_at":"2016-12-03T15:35:22Z","closed_at":"2016-12-03T15:35:22Z","merged_at":"2016-12-03T15:35:22Z","merge_commit_sha":"2e0881e28415a5dbd35155925d686dd5466f8cb0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/16949/commits","review_comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/16949/comments","review_comment_url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/16949/comments","statuses_url":"https://api.github.com/repos/cocos2d/cocos2d-x/statuses/41bfbd4afcda18661de13c5706d8dfc422c04d58","head":{"label":"ricardoquesada:issue_16928","ref":"issue_16928","sha":"41bfbd4afcda18661de13c5706d8dfc422c04d58","user":{"login":"ricardoquesada","id":232330,"avatar_url":"https://avatars.githubusercontent.com/u/232330?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardoquesada","html_url":"https://github.com/ricardoquesada","followers_url":"https://api.github.com/users/ricardoquesada/followers","following_url":"https://api.github.com/users/ricardoquesada/following{/other_user}","gists_url":"https://api.github.com/users/ricardoquesada/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardoquesada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardoquesada/subscriptions","organizations_url":"https://api.github.com/users/ricardoquesada/orgs","repos_url":"https://api.github.com/users/ricardoquesada/repos","events_url":"https://api.github.com/users/ricardoquesada/events{/privacy}","received_events_url":"https://api.github.com/users/ricardoquesada/received_events","type":"User","site_admin":false},"repo":{"id":7613866,"name":"cocos2d-x","full_name":"ricardoquesada/cocos2d-x","owner":{"login":"ricardoquesada","id":232330,"avatar_url":"https://avatars.githubusercontent.com/u/232330?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardoquesada","html_url":"https://github.com/ricardoquesada","followers_url":"https://api.github.com/users/ricardoquesada/followers","following_url":"https://api.github.com/users/ricardoquesada/following{/other_user}","gists_url":"https://api.github.com/users/ricardoquesada/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardoquesada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardoquesada/subscriptions","organizations_url":"https://api.github.com/users/ricardoquesada/orgs","repos_url":"https://api.github.com/users/ricardoquesada/repos","events_url":"https://api.github.com/users/ricardoquesada/events{/privacy}","received_events_url":"https://api.github.com/users/ricardoquesada/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ricardoquesada/cocos2d-x","description":"Port of cocos2d-iphone in C++","fork":true,"url":"https://api.github.com/repos/ricardoquesada/cocos2d-x","forks_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/forks","keys_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/teams","hooks_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/hooks","issue_events_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/issues/events{/number}","events_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/events","assignees_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/assignees{/user}","branches_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/branches{/branch}","tags_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/tags","blobs_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/git/refs{/sha}","trees_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/statuses/{sha}","languages_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/languages","stargazers_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/stargazers","contributors_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/contributors","subscribers_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/subscribers","subscription_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/subscription","commits_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/commits{/sha}","git_commits_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/git/commits{/sha}","comments_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/comments{/number}","issue_comment_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/issues/comments{/number}","contents_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/contents/{+path}","compare_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/merges","archive_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/downloads","issues_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/issues{/number}","pulls_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/pulls{/number}","milestones_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/milestones{/number}","notifications_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/labels{/name}","releases_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/releases{/id}","deployments_url":"https://api.github.com/repos/ricardoquesada/cocos2d-x/deployments","created_at":"2013-01-14T22:20:32Z","updated_at":"2015-05-06T00:57:54Z","pushed_at":"2016-12-03T01:37:24Z","git_url":"git://github.com/ricardoquesada/cocos2d-x.git","ssh_url":"git@github.com:ricardoquesada/cocos2d-x.git","clone_url":"https://github.com/ricardoquesada/cocos2d-x.git","svn_url":"https://github.com/ricardoquesada/cocos2d-x","homepage":"http://www.cocos2d-x.org","size":1072663,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":1,"default_branch":"v3"}},"base":{"label":"cocos2d:v3.14","ref":"v3.14","sha":"87f38d5e5d1487e118cdaf0755aa042618162346","user":{"login":"cocos2d","id":234324,"avatar_url":"https://avatars.githubusercontent.com/u/234324?v=3","gravatar_id":"","url":"https://api.github.com/users/cocos2d","html_url":"https://github.com/cocos2d","followers_url":"https://api.github.com/users/cocos2d/followers","following_url":"https://api.github.com/users/cocos2d/following{/other_user}","gists_url":"https://api.github.com/users/cocos2d/gists{/gist_id}","starred_url":"https://api.github.com/users/cocos2d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocos2d/subscriptions","organizations_url":"https://api.github.com/users/cocos2d/orgs","repos_url":"https://api.github.com/users/cocos2d/repos","events_url":"https://api.github.com/users/cocos2d/events{/privacy}","received_events_url":"https://api.github.com/users/cocos2d/received_events","type":"Organization","site_admin":false},"repo":{"id":1093228,"name":"cocos2d-x","full_name":"cocos2d/cocos2d-x","owner":{"login":"cocos2d","id":234324,"avatar_url":"https://avatars.githubusercontent.com/u/234324?v=3","gravatar_id":"","url":"https://api.github.com/users/cocos2d","html_url":"https://github.com/cocos2d","followers_url":"https://api.github.com/users/cocos2d/followers","following_url":"https://api.github.com/users/cocos2d/following{/other_user}","gists_url":"https://api.github.com/users/cocos2d/gists{/gist_id}","starred_url":"https://api.github.com/users/cocos2d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocos2d/subscriptions","organizations_url":"https://api.github.com/users/cocos2d/orgs","repos_url":"https://api.github.com/users/cocos2d/repos","events_url":"https://api.github.com/users/cocos2d/events{/privacy}","received_events_url":"https://api.github.com/users/cocos2d/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cocos2d/cocos2d-x","description":"cocos2d-x for C++","fork":false,"url":"https://api.github.com/repos/cocos2d/cocos2d-x","forks_url":"https://api.github.com/repos/cocos2d/cocos2d-x/forks","keys_url":"https://api.github.com/repos/cocos2d/cocos2d-x/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cocos2d/cocos2d-x/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cocos2d/cocos2d-x/teams","hooks_url":"https://api.github.com/repos/cocos2d/cocos2d-x/hooks","issue_events_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/events{/number}","events_url":"https://api.github.com/repos/cocos2d/cocos2d-x/events","assignees_url":"https://api.github.com/repos/cocos2d/cocos2d-x/assignees{/user}","branches_url":"https://api.github.com/repos/cocos2d/cocos2d-x/branches{/branch}","tags_url":"https://api.github.com/repos/cocos2d/cocos2d-x/tags","blobs_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/refs{/sha}","trees_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cocos2d/cocos2d-x/statuses/{sha}","languages_url":"https://api.github.com/repos/cocos2d/cocos2d-x/languages","stargazers_url":"https://api.github.com/repos/cocos2d/cocos2d-x/stargazers","contributors_url":"https://api.github.com/repos/cocos2d/cocos2d-x/contributors","subscribers_url":"https://api.github.com/repos/cocos2d/cocos2d-x/subscribers","subscription_url":"https://api.github.com/repos/cocos2d/cocos2d-x/subscription","commits_url":"https://api.github.com/repos/cocos2d/cocos2d-x/commits{/sha}","git_commits_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/commits{/sha}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/comments{/number}","issue_comment_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/comments{/number}","contents_url":"https://api.github.com/repos/cocos2d/cocos2d-x/contents/{+path}","compare_url":"https://api.github.com/repos/cocos2d/cocos2d-x/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cocos2d/cocos2d-x/merges","archive_url":"https://api.github.com/repos/cocos2d/cocos2d-x/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cocos2d/cocos2d-x/downloads","issues_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues{/number}","pulls_url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls{/number}","milestones_url":"https://api.github.com/repos/cocos2d/cocos2d-x/milestones{/number}","notifications_url":"https://api.github.com/repos/cocos2d/cocos2d-x/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cocos2d/cocos2d-x/labels{/name}","releases_url":"https://api.github.com/repos/cocos2d/cocos2d-x/releases{/id}","deployments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/deployments","created_at":"2010-11-18T23:17:00Z","updated_at":"2016-12-03T15:27:41Z","pushed_at":"2016-12-03T15:35:22Z","git_url":"git://github.com/cocos2d/cocos2d-x.git","ssh_url":"git@github.com:cocos2d/cocos2d-x.git","clone_url":"https://github.com/cocos2d/cocos2d-x.git","svn_url":"https://github.com/cocos2d/cocos2d-x","homepage":"http://www.cocos2d-x.org","size":1537669,"stargazers_count":9252,"watchers_count":9252,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5872,"mirror_url":null,"open_issues_count":1008,"forks":5872,"open_issues":1008,"watchers":9252,"default_branch":"v3"}},"_links":{"self":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/16949"},"html":{"href":"https://github.com/cocos2d/cocos2d-x/pull/16949"},"issue":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/16949"},"comments":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/16949/comments"},"review_comments":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/16949/comments"},"review_comment":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/16949/commits"},"statuses":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/statuses/41bfbd4afcda18661de13c5706d8dfc422c04d58"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ricardoquesada","id":232330,"avatar_url":"https://avatars.githubusercontent.com/u/232330?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardoquesada","html_url":"https://github.com/ricardoquesada","followers_url":"https://api.github.com/users/ricardoquesada/followers","following_url":"https://api.github.com/users/ricardoquesada/following{/other_user}","gists_url":"https://api.github.com/users/ricardoquesada/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardoquesada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardoquesada/subscriptions","organizations_url":"https://api.github.com/users/ricardoquesada/orgs","repos_url":"https://api.github.com/users/ricardoquesada/repos","events_url":"https://api.github.com/users/ricardoquesada/events{/privacy}","received_events_url":"https://api.github.com/users/ricardoquesada/received_events","type":"User","site_admin":false},"comments":8,"review_comments":0,"commits":12,"additions":160,"deletions":75,"changed_files":9}}
{"actor":{"display_login":"ricardoquesada"}}