{"action":"created","issue":{"url":"https://api.github.com/repos/alibaba/VirtualView-iOS/issues/5","repository_url":"https://api.github.com/repos/alibaba/VirtualView-iOS","labels_url":"https://api.github.com/repos/alibaba/VirtualView-iOS/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/VirtualView-iOS/issues/5/comments","events_url":"https://api.github.com/repos/alibaba/VirtualView-iOS/issues/5/events","html_url":"https://github.com/alibaba/VirtualView-iOS/issues/5","id":285874120,"number":5,"title":"所有frame的计算为什么要取整数？这样会导致问题吧","user":{"login":"zekunyan","id":5687881,"avatar_url":"https://avatars1.githubusercontent.com/u/5687881?v=4","gravatar_id":"","url":"https://api.github.com/users/zekunyan","html_url":"https://github.com/zekunyan","followers_url":"https://api.github.com/users/zekunyan/followers","following_url":"https://api.github.com/users/zekunyan/following{/other_user}","gists_url":"https://api.github.com/users/zekunyan/gists{/gist_id}","starred_url":"https://api.github.com/users/zekunyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zekunyan/subscriptions","organizations_url":"https://api.github.com/users/zekunyan/orgs","repos_url":"https://api.github.com/users/zekunyan/repos","events_url":"https://api.github.com/users/zekunyan/events{/privacy}","received_events_url":"https://api.github.com/users/zekunyan/received_events","type":"User","site_admin":false},"labels":[{"id":771760162,"url":"https://api.github.com/repos/alibaba/VirtualView-iOS/labels/enhancement","name":"enhancement","color":"c5def5","default":true},{"id":776178596,"url":"https://api.github.com/repos/alibaba/VirtualView-iOS/labels/plan","name":"plan","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":{"login":"HarrisonXi","id":1059648,"avatar_url":"https://avatars2.githubusercontent.com/u/1059648?v=4","gravatar_id":"","url":"https://api.github.com/users/HarrisonXi","html_url":"https://github.com/HarrisonXi","followers_url":"https://api.github.com/users/HarrisonXi/followers","following_url":"https://api.github.com/users/HarrisonXi/following{/other_user}","gists_url":"https://api.github.com/users/HarrisonXi/gists{/gist_id}","starred_url":"https://api.github.com/users/HarrisonXi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HarrisonXi/subscriptions","organizations_url":"https://api.github.com/users/HarrisonXi/orgs","repos_url":"https://api.github.com/users/HarrisonXi/repos","events_url":"https://api.github.com/users/HarrisonXi/events{/privacy}","received_events_url":"https://api.github.com/users/HarrisonXi/received_events","type":"User","site_admin":false},"assignees":[{"login":"HarrisonXi","id":1059648,"avatar_url":"https://avatars2.githubusercontent.com/u/1059648?v=4","gravatar_id":"","url":"https://api.github.com/users/HarrisonXi","html_url":"https://github.com/HarrisonXi","followers_url":"https://api.github.com/users/HarrisonXi/followers","following_url":"https://api.github.com/users/HarrisonXi/following{/other_user}","gists_url":"https://api.github.com/users/HarrisonXi/gists{/gist_id}","starred_url":"https://api.github.com/users/HarrisonXi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HarrisonXi/subscriptions","organizations_url":"https://api.github.com/users/HarrisonXi/orgs","repos_url":"https://api.github.com/users/HarrisonXi/repos","events_url":"https://api.github.com/users/HarrisonXi/events{/privacy}","received_events_url":"https://api.github.com/users/HarrisonXi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-01-04T03:44:45Z","updated_at":"2018-02-23T07:49:40Z","closed_at":"2018-02-23T07:49:40Z","author_association":"NONE","body":"比如均分的时候，375的屏幕均分成4份肯定不准的。\r\n\r\n```\r\n// VVViewObject\r\n- (void)layoutSubviews{\r\n    //\r\n    CGFloat x = self.frame.origin.x;\r\n    CGFloat y = self.frame.origin.y;\r\n    _width = _width<0?self.superview.frame.size.width:_width;\r\n    _height = _height<0?self.superview.frame.size.height:_height;\r\n    CGFloat a1,a2,w,h;\r\n    a1 = (int)x*1;\r\n    a2 = (int)y*1;\r\n    w = (int)_width*1;\r\n    h = (int)_height*1;\r\n    self.frame = CGRectMake(a1, a2, w, h);\r\n}\r\n```\r\n  "},"comment":{"url":"https://api.github.com/repos/alibaba/VirtualView-iOS/issues/comments/367935146","html_url":"https://github.com/alibaba/VirtualView-iOS/issues/5#issuecomment-367935146","issue_url":"https://api.github.com/repos/alibaba/VirtualView-iOS/issues/5","id":367935146,"user":{"login":"HarrisonXi","id":1059648,"avatar_url":"https://avatars2.githubusercontent.com/u/1059648?v=4","gravatar_id":"","url":"https://api.github.com/users/HarrisonXi","html_url":"https://github.com/HarrisonXi","followers_url":"https://api.github.com/users/HarrisonXi/followers","following_url":"https://api.github.com/users/HarrisonXi/following{/other_user}","gists_url":"https://api.github.com/users/HarrisonXi/gists{/gist_id}","starred_url":"https://api.github.com/users/HarrisonXi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HarrisonXi/subscriptions","organizations_url":"https://api.github.com/users/HarrisonXi/orgs","repos_url":"https://api.github.com/users/HarrisonXi/repos","events_url":"https://api.github.com/users/HarrisonXi/events{/privacy}","received_events_url":"https://api.github.com/users/HarrisonXi/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T07:49:40Z","updated_at":"2018-02-23T07:49:40Z","author_association":"MEMBER","body":"release 1.2.2 已解决"}}
{"actor":{"display_login":"HarrisonXi"}}