{"action":"closed","issue":{"url":"https://api.github.com/repos/yyued/SVGAPlayer-iOS/issues/47","repository_url":"https://api.github.com/repos/yyued/SVGAPlayer-iOS","labels_url":"https://api.github.com/repos/yyued/SVGAPlayer-iOS/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/yyued/SVGAPlayer-iOS/issues/47/comments","events_url":"https://api.github.com/repos/yyued/SVGAPlayer-iOS/issues/47/events","html_url":"https://github.com/yyued/SVGAPlayer-iOS/issues/47","id":394104100,"node_id":"MDU6SXNzdWUzOTQxMDQxMDA=","number":47,"title":"显示错误","user":{"login":"jiangmingz","id":187824,"node_id":"MDQ6VXNlcjE4NzgyNA==","avatar_url":"https://avatars0.githubusercontent.com/u/187824?v=4","gravatar_id":"","url":"https://api.github.com/users/jiangmingz","html_url":"https://github.com/jiangmingz","followers_url":"https://api.github.com/users/jiangmingz/followers","following_url":"https://api.github.com/users/jiangmingz/following{/other_user}","gists_url":"https://api.github.com/users/jiangmingz/gists{/gist_id}","starred_url":"https://api.github.com/users/jiangmingz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiangmingz/subscriptions","organizations_url":"https://api.github.com/users/jiangmingz/orgs","repos_url":"https://api.github.com/users/jiangmingz/repos","events_url":"https://api.github.com/users/jiangmingz/events{/privacy}","received_events_url":"https://api.github.com/users/jiangmingz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-26T07:34:08Z","updated_at":"2018-12-26T09:38:55Z","closed_at":"2018-12-26T09:38:55Z","author_association":"NONE","body":"CGFloat ratio = self.bounds.size.height / self.videoItem.videoSize.height;\r\n            CGPoint offset = CGPointMake(\r\n                                         (1.0 - ratio) / 2.0 * self.videoItem.videoSize.width - (self.bounds.size.width - self.videoItem.videoSize.width * ratio) / 2.0,\r\n                                         (1.0 - ratio) / 2.0 * self.videoItem.videoSize.height);\r\n            self.drawLayer.transform = CATransform3DMakeAffineTransform(CGAffineTransformMake(ratio, 0, 0, ratio, -offset.x, -offset.y));\r\n这里会超出父view的尺寸左边缘"}}
{"actor":{"display_login":"PonyCui"}}