{"action":"created","comment":{"url":"https://api.github.com/repos/catawiki/CataShowcase/pulls/comments/138597105","pull_request_review_id":62411447,"id":138597105,"diff_hunk":"@@ -194,20 +260,46 @@ extension ShowcaseViewController {\n \n extension ShowcaseViewController: UIScrollViewDelegate {\n     public func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) {\n-        if let itemIndex = centeredIndexForDisplayedItem() {\n-            slidesCollectionView.scrollToItem(at: IndexPath(item: itemIndex, section: 0), at: .centeredHorizontally, animated: false)\n+        perform(#selector(ShowcaseViewController.scrollInvisibly), with: nil, afterDelay: 0.5)\n+    }\n+\n+    @objc fileprivate func scrollInvisibly() {","path":"CataShowcase/Classes/ShowcaseViewController.swift","position":167,"original_position":167,"commit_id":"fb5e37352c1dedc67d9774983db53a35128b1fd2","original_commit_id":"fb5e37352c1dedc67d9774983db53a35128b1fd2","user":{"login":"katepatrenina","id":22887043,"avatar_url":"https://avatars1.githubusercontent.com/u/22887043?v=4","gravatar_id":"","url":"https://api.github.com/users/katepatrenina","html_url":"https://github.com/katepatrenina","followers_url":"https://api.github.com/users/katepatrenina/followers","following_url":"https://api.github.com/users/katepatrenina/following{/other_user}","gists_url":"https://api.github.com/users/katepatrenina/gists{/gist_id}","starred_url":"https://api.github.com/users/katepatrenina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katepatrenina/subscriptions","organizations_url":"https://api.github.com/users/katepatrenina/orgs","repos_url":"https://api.github.com/users/katepatrenina/repos","events_url":"https://api.github.com/users/katepatrenina/events{/privacy}","received_events_url":"https://api.github.com/users/katepatrenina/received_events","type":"User","site_admin":false},"body":"Why to drop fileprivate? :)","created_at":"2017-09-13T11:54:06Z","updated_at":"2017-09-13T11:54:06Z","html_url":"https://github.com/catawiki/CataShowcase/pull/6#discussion_r138597105","pull_request_url":"https://api.github.com/repos/catawiki/CataShowcase/pulls/6","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/catawiki/CataShowcase/pulls/comments/138597105"},"html":{"href":"https://github.com/catawiki/CataShowcase/pull/6#discussion_r138597105"},"pull_request":{"href":"https://api.github.com/repos/catawiki/CataShowcase/pulls/6"}},"in_reply_to_id":138373797},"pull_request":{"url":"https://api.github.com/repos/catawiki/CataShowcase/pulls/6","id":140582871,"html_url":"https://github.com/catawiki/CataShowcase/pull/6","diff_url":"https://github.com/catawiki/CataShowcase/pull/6.diff","patch_url":"https://github.com/catawiki/CataShowcase/pull/6.patch","issue_url":"https://api.github.com/repos/catawiki/CataShowcase/issues/6","number":6,"state":"open","locked":false,"title":"Allow ratio","user":{"login":"katepatrenina","id":22887043,"avatar_url":"https://avatars1.githubusercontent.com/u/22887043?v=4","gravatar_id":"","url":"https://api.github.com/users/katepatrenina","html_url":"https://github.com/katepatrenina","followers_url":"https://api.github.com/users/katepatrenina/followers","following_url":"https://api.github.com/users/katepatrenina/following{/other_user}","gists_url":"https://api.github.com/users/katepatrenina/gists{/gist_id}","starred_url":"https://api.github.com/users/katepatrenina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katepatrenina/subscriptions","organizations_url":"https://api.github.com/users/katepatrenina/orgs","repos_url":"https://api.github.com/users/katepatrenina/repos","events_url":"https://api.github.com/users/katepatrenina/events{/privacy}","received_events_url":"https://api.github.com/users/katepatrenina/received_events","type":"User","site_admin":false},"body":"- Allow ratio for showcase item. By default, when the ratio is nil, item width is the same as collection width\r\n- Add linespacing (for ipad we need it different from 0)\r\n- Add background color\r\n- Make parallax work properly with any linespacing and ratio\r\n- Fix parallax to be centered in the center of current item","created_at":"2017-09-12T13:41:48Z","updated_at":"2017-09-13T11:54:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9917902414c60cb94bd08ce1386c0c3e265e8b67","assignee":null,"assignees":[],"requested_reviewers":[{"login":"SteveLeviathan","id":370958,"avatar_url":"https://avatars0.githubusercontent.com/u/370958?v=4","gravatar_id":"","url":"https://api.github.com/users/SteveLeviathan","html_url":"https://github.com/SteveLeviathan","followers_url":"https://api.github.com/users/SteveLeviathan/followers","following_url":"https://api.github.com/users/SteveLeviathan/following{/other_user}","gists_url":"https://api.github.com/users/SteveLeviathan/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveLeviathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveLeviathan/subscriptions","organizations_url":"https://api.github.com/users/SteveLeviathan/orgs","repos_url":"https://api.github.com/users/SteveLeviathan/repos","events_url":"https://api.github.com/users/SteveLeviathan/events{/privacy}","received_events_url":"https://api.github.com/users/SteveLeviathan/received_events","type":"User","site_admin":false},{"login":"mzygar","id":1250829,"avatar_url":"https://avatars0.githubusercontent.com/u/1250829?v=4","gravatar_id":"","url":"https://api.github.com/users/mzygar","html_url":"https://github.com/mzygar","followers_url":"https://api.github.com/users/mzygar/followers","following_url":"https://api.github.com/users/mzygar/following{/other_user}","gists_url":"https://api.github.com/users/mzygar/gists{/gist_id}","starred_url":"https://api.github.com/users/mzygar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzygar/subscriptions","organizations_url":"https://api.github.com/users/mzygar/orgs","repos_url":"https://api.github.com/users/mzygar/repos","events_url":"https://api.github.com/users/mzygar/events{/privacy}","received_events_url":"https://api.github.com/users/mzygar/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/catawiki/CataShowcase/pulls/6/commits","review_comments_url":"https://api.github.com/repos/catawiki/CataShowcase/pulls/6/comments","review_comment_url":"https://api.github.com/repos/catawiki/CataShowcase/pulls/comments{/number}","comments_url":"https://api.github.com/repos/catawiki/CataShowcase/issues/6/comments","statuses_url":"https://api.github.com/repos/catawiki/CataShowcase/statuses/fb5e37352c1dedc67d9774983db53a35128b1fd2","head":{"label":"catawiki:allow-ratio","ref":"allow-ratio","sha":"fb5e37352c1dedc67d9774983db53a35128b1fd2","user":{"login":"catawiki","id":1814394,"avatar_url":"https://avatars3.githubusercontent.com/u/1814394?v=4","gravatar_id":"","url":"https://api.github.com/users/catawiki","html_url":"https://github.com/catawiki","followers_url":"https://api.github.com/users/catawiki/followers","following_url":"https://api.github.com/users/catawiki/following{/other_user}","gists_url":"https://api.github.com/users/catawiki/gists{/gist_id}","starred_url":"https://api.github.com/users/catawiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catawiki/subscriptions","organizations_url":"https://api.github.com/users/catawiki/orgs","repos_url":"https://api.github.com/users/catawiki/repos","events_url":"https://api.github.com/users/catawiki/events{/privacy}","received_events_url":"https://api.github.com/users/catawiki/received_events","type":"Organization","site_admin":false},"repo":{"id":71230239,"name":"CataShowcase","full_name":"catawiki/CataShowcase","owner":{"login":"catawiki","id":1814394,"avatar_url":"https://avatars3.githubusercontent.com/u/1814394?v=4","gravatar_id":"","url":"https://api.github.com/users/catawiki","html_url":"https://github.com/catawiki","followers_url":"https://api.github.com/users/catawiki/followers","following_url":"https://api.github.com/users/catawiki/following{/other_user}","gists_url":"https://api.github.com/users/catawiki/gists{/gist_id}","starred_url":"https://api.github.com/users/catawiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catawiki/subscriptions","organizations_url":"https://api.github.com/users/catawiki/orgs","repos_url":"https://api.github.com/users/catawiki/repos","events_url":"https://api.github.com/users/catawiki/events{/privacy}","received_events_url":"https://api.github.com/users/catawiki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/catawiki/CataShowcase","description":"Showcase component for iOS with nice parallax- still in the baking [WIP]","fork":false,"url":"https://api.github.com/repos/catawiki/CataShowcase","forks_url":"https://api.github.com/repos/catawiki/CataShowcase/forks","keys_url":"https://api.github.com/repos/catawiki/CataShowcase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/catawiki/CataShowcase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/catawiki/CataShowcase/teams","hooks_url":"https://api.github.com/repos/catawiki/CataShowcase/hooks","issue_events_url":"https://api.github.com/repos/catawiki/CataShowcase/issues/events{/number}","events_url":"https://api.github.com/repos/catawiki/CataShowcase/events","assignees_url":"https://api.github.com/repos/catawiki/CataShowcase/assignees{/user}","branches_url":"https://api.github.com/repos/catawiki/CataShowcase/branches{/branch}","tags_url":"https://api.github.com/repos/catawiki/CataShowcase/tags","blobs_url":"https://api.github.com/repos/catawiki/CataShowcase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/catawiki/CataShowcase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/catawiki/CataShowcase/git/refs{/sha}","trees_url":"https://api.github.com/repos/catawiki/CataShowcase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/catawiki/CataShowcase/statuses/{sha}","languages_url":"https://api.github.com/repos/catawiki/CataShowcase/languages","stargazers_url":"https://api.github.com/repos/catawiki/CataShowcase/stargazers","contributors_url":"https://api.github.com/repos/catawiki/CataShowcase/contributors","subscribers_url":"https://api.github.com/repos/catawiki/CataShowcase/subscribers","subscription_url":"https://api.github.com/repos/catawiki/CataShowcase/subscription","commits_url":"https://api.github.com/repos/catawiki/CataShowcase/commits{/sha}","git_commits_url":"https://api.github.com/repos/catawiki/CataShowcase/git/commits{/sha}","comments_url":"https://api.github.com/repos/catawiki/CataShowcase/comments{/number}","issue_comment_url":"https://api.github.com/repos/catawiki/CataShowcase/issues/comments{/number}","contents_url":"https://api.github.com/repos/catawiki/CataShowcase/contents/{+path}","compare_url":"https://api.github.com/repos/catawiki/CataShowcase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/catawiki/CataShowcase/merges","archive_url":"https://api.github.com/repos/catawiki/CataShowcase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/catawiki/CataShowcase/downloads","issues_url":"https://api.github.com/repos/catawiki/CataShowcase/issues{/number}","pulls_url":"https://api.github.com/repos/catawiki/CataShowcase/pulls{/number}","milestones_url":"https://api.github.com/repos/catawiki/CataShowcase/milestones{/number}","notifications_url":"https://api.github.com/repos/catawiki/CataShowcase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/catawiki/CataShowcase/labels{/name}","releases_url":"https://api.github.com/repos/catawiki/CataShowcase/releases{/id}","deployments_url":"https://api.github.com/repos/catawiki/CataShowcase/deployments","created_at":"2016-10-18T09:12:44Z","updated_at":"2016-10-31T14:25:21Z","pushed_at":"2017-09-12T13:41:49Z","git_url":"git://github.com/catawiki/CataShowcase.git","ssh_url":"git@github.com:catawiki/CataShowcase.git","clone_url":"https://github.com/catawiki/CataShowcase.git","svn_url":"https://github.com/catawiki/CataShowcase","homepage":"","size":21109,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"catawiki:master","ref":"master","sha":"ace6aed03a993bd0fe03ffe6ba9de8fb579f6aea","user":{"login":"catawiki","id":1814394,"avatar_url":"https://avatars3.githubusercontent.com/u/1814394?v=4","gravatar_id":"","url":"https://api.github.com/users/catawiki","html_url":"https://github.com/catawiki","followers_url":"https://api.github.com/users/catawiki/followers","following_url":"https://api.github.com/users/catawiki/following{/other_user}","gists_url":"https://api.github.com/users/catawiki/gists{/gist_id}","starred_url":"https://api.github.com/users/catawiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catawiki/subscriptions","organizations_url":"https://api.github.com/users/catawiki/orgs","repos_url":"https://api.github.com/users/catawiki/repos","events_url":"https://api.github.com/users/catawiki/events{/privacy}","received_events_url":"https://api.github.com/users/catawiki/received_events","type":"Organization","site_admin":false},"repo":{"id":71230239,"name":"CataShowcase","full_name":"catawiki/CataShowcase","owner":{"login":"catawiki","id":1814394,"avatar_url":"https://avatars3.githubusercontent.com/u/1814394?v=4","gravatar_id":"","url":"https://api.github.com/users/catawiki","html_url":"https://github.com/catawiki","followers_url":"https://api.github.com/users/catawiki/followers","following_url":"https://api.github.com/users/catawiki/following{/other_user}","gists_url":"https://api.github.com/users/catawiki/gists{/gist_id}","starred_url":"https://api.github.com/users/catawiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catawiki/subscriptions","organizations_url":"https://api.github.com/users/catawiki/orgs","repos_url":"https://api.github.com/users/catawiki/repos","events_url":"https://api.github.com/users/catawiki/events{/privacy}","received_events_url":"https://api.github.com/users/catawiki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/catawiki/CataShowcase","description":"Showcase component for iOS with nice parallax- still in the baking [WIP]","fork":false,"url":"https://api.github.com/repos/catawiki/CataShowcase","forks_url":"https://api.github.com/repos/catawiki/CataShowcase/forks","keys_url":"https://api.github.com/repos/catawiki/CataShowcase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/catawiki/CataShowcase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/catawiki/CataShowcase/teams","hooks_url":"https://api.github.com/repos/catawiki/CataShowcase/hooks","issue_events_url":"https://api.github.com/repos/catawiki/CataShowcase/issues/events{/number}","events_url":"https://api.github.com/repos/catawiki/CataShowcase/events","assignees_url":"https://api.github.com/repos/catawiki/CataShowcase/assignees{/user}","branches_url":"https://api.github.com/repos/catawiki/CataShowcase/branches{/branch}","tags_url":"https://api.github.com/repos/catawiki/CataShowcase/tags","blobs_url":"https://api.github.com/repos/catawiki/CataShowcase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/catawiki/CataShowcase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/catawiki/CataShowcase/git/refs{/sha}","trees_url":"https://api.github.com/repos/catawiki/CataShowcase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/catawiki/CataShowcase/statuses/{sha}","languages_url":"https://api.github.com/repos/catawiki/CataShowcase/languages","stargazers_url":"https://api.github.com/repos/catawiki/CataShowcase/stargazers","contributors_url":"https://api.github.com/repos/catawiki/CataShowcase/contributors","subscribers_url":"https://api.github.com/repos/catawiki/CataShowcase/subscribers","subscription_url":"https://api.github.com/repos/catawiki/CataShowcase/subscription","commits_url":"https://api.github.com/repos/catawiki/CataShowcase/commits{/sha}","git_commits_url":"https://api.github.com/repos/catawiki/CataShowcase/git/commits{/sha}","comments_url":"https://api.github.com/repos/catawiki/CataShowcase/comments{/number}","issue_comment_url":"https://api.github.com/repos/catawiki/CataShowcase/issues/comments{/number}","contents_url":"https://api.github.com/repos/catawiki/CataShowcase/contents/{+path}","compare_url":"https://api.github.com/repos/catawiki/CataShowcase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/catawiki/CataShowcase/merges","archive_url":"https://api.github.com/repos/catawiki/CataShowcase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/catawiki/CataShowcase/downloads","issues_url":"https://api.github.com/repos/catawiki/CataShowcase/issues{/number}","pulls_url":"https://api.github.com/repos/catawiki/CataShowcase/pulls{/number}","milestones_url":"https://api.github.com/repos/catawiki/CataShowcase/milestones{/number}","notifications_url":"https://api.github.com/repos/catawiki/CataShowcase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/catawiki/CataShowcase/labels{/name}","releases_url":"https://api.github.com/repos/catawiki/CataShowcase/releases{/id}","deployments_url":"https://api.github.com/repos/catawiki/CataShowcase/deployments","created_at":"2016-10-18T09:12:44Z","updated_at":"2016-10-31T14:25:21Z","pushed_at":"2017-09-12T13:41:49Z","git_url":"git://github.com/catawiki/CataShowcase.git","ssh_url":"git@github.com:catawiki/CataShowcase.git","clone_url":"https://github.com/catawiki/CataShowcase.git","svn_url":"https://github.com/catawiki/CataShowcase","homepage":"","size":21109,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/catawiki/CataShowcase/pulls/6"},"html":{"href":"https://github.com/catawiki/CataShowcase/pull/6"},"issue":{"href":"https://api.github.com/repos/catawiki/CataShowcase/issues/6"},"comments":{"href":"https://api.github.com/repos/catawiki/CataShowcase/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/catawiki/CataShowcase/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/catawiki/CataShowcase/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/catawiki/CataShowcase/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/catawiki/CataShowcase/statuses/fb5e37352c1dedc67d9774983db53a35128b1fd2"}},"author_association":"NONE"}}
{"actor":{"display_login":"katepatrenina"}}