{"action":"created","comment":{"url":"https://api.github.com/repos/pkzxs/Aurora.Music/pulls/comments/177673244","pull_request_review_id":107584555,"id":177673244,"diff_hunk":"@@ -29,15 +28,19 @@ public Lyric(string s, TimeSpan duration)\n         {\n             var sl = s.Split('\\n');\n \n-            Slices = sl.Select(x => new Slice\n+            Slices = new List<Slice>(sl.Length);\n+            for (int i = 0; i < sl.Length; i++)\n             {\n-                Offset = TimeSpan.FromMilliseconds(duration.TotalMilliseconds * (Array.IndexOf(sl, x) / (double)sl.Length)),","path":"Source/LrcParser/Lyric.cs","position":34,"original_position":34,"commit_id":"9e9935510c7a70b3333f4407f43015c3cc81df2f","original_commit_id":"9e9935510c7a70b3333f4407f43015c3cc81df2f","user":{"login":"OpportunityLiu","id":13471233,"avatar_url":"https://avatars0.githubusercontent.com/u/13471233?v=4","gravatar_id":"","url":"https://api.github.com/users/OpportunityLiu","html_url":"https://github.com/OpportunityLiu","followers_url":"https://api.github.com/users/OpportunityLiu/followers","following_url":"https://api.github.com/users/OpportunityLiu/following{/other_user}","gists_url":"https://api.github.com/users/OpportunityLiu/gists{/gist_id}","starred_url":"https://api.github.com/users/OpportunityLiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpportunityLiu/subscriptions","organizations_url":"https://api.github.com/users/OpportunityLiu/orgs","repos_url":"https://api.github.com/users/OpportunityLiu/repos","events_url":"https://api.github.com/users/OpportunityLiu/events{/privacy}","received_events_url":"https://api.github.com/users/OpportunityLiu/received_events","type":"User","site_admin":false},"body":"`sl` 中出现重复条目时 `Array.IndexOf` 的结果不正确","created_at":"2018-03-28T08:27:57Z","updated_at":"2018-03-28T08:27:57Z","html_url":"https://github.com/pkzxs/Aurora.Music/pull/5#discussion_r177673244","pull_request_url":"https://api.github.com/repos/pkzxs/Aurora.Music/pulls/5","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/pkzxs/Aurora.Music/pulls/comments/177673244"},"html":{"href":"https://github.com/pkzxs/Aurora.Music/pull/5#discussion_r177673244"},"pull_request":{"href":"https://api.github.com/repos/pkzxs/Aurora.Music/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/pkzxs/Aurora.Music/pulls/5","id":177923415,"html_url":"https://github.com/pkzxs/Aurora.Music/pull/5","diff_url":"https://github.com/pkzxs/Aurora.Music/pull/5.diff","patch_url":"https://github.com/pkzxs/Aurora.Music/pull/5.patch","issue_url":"https://api.github.com/repos/pkzxs/Aurora.Music/issues/5","number":5,"state":"open","locked":false,"title":"调整画中画窗口的标题栏大小，使其更易拖动","user":{"login":"OpportunityLiu","id":13471233,"avatar_url":"https://avatars0.githubusercontent.com/u/13471233?v=4","gravatar_id":"","url":"https://api.github.com/users/OpportunityLiu","html_url":"https://github.com/OpportunityLiu","followers_url":"https://api.github.com/users/OpportunityLiu/followers","following_url":"https://api.github.com/users/OpportunityLiu/following{/other_user}","gists_url":"https://api.github.com/users/OpportunityLiu/gists{/gist_id}","starred_url":"https://api.github.com/users/OpportunityLiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpportunityLiu/subscriptions","organizations_url":"https://api.github.com/users/OpportunityLiu/orgs","repos_url":"https://api.github.com/users/OpportunityLiu/repos","events_url":"https://api.github.com/users/OpportunityLiu/events{/privacy}","received_events_url":"https://api.github.com/users/OpportunityLiu/received_events","type":"User","site_admin":false},"body":"1. 歌词窗口直接以 `Frame` 作为标题栏，使整个窗口可以拖动\r\n2. `LyricView` 使用样式\r\n3. `CompactOverlayPanel` 使用背景层作为标题栏\r\n4. `CompactOverlayPanel` 中为 `ButtonPanel` 增加 `ScrollViewer`\r\n5. 添加 `.editorconfig` 配置文件","created_at":"2018-03-28T03:53:33Z","updated_at":"2018-03-28T08:27:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50543cf9573f4bb86ca17bfb22b7d4bd8a91169e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pkzxs/Aurora.Music/pulls/5/commits","review_comments_url":"https://api.github.com/repos/pkzxs/Aurora.Music/pulls/5/comments","review_comment_url":"https://api.github.com/repos/pkzxs/Aurora.Music/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pkzxs/Aurora.Music/issues/5/comments","statuses_url":"https://api.github.com/repos/pkzxs/Aurora.Music/statuses/9e9935510c7a70b3333f4407f43015c3cc81df2f","head":{"label":"OpportunityLiu:master","ref":"master","sha":"9e9935510c7a70b3333f4407f43015c3cc81df2f","user":{"login":"OpportunityLiu","id":13471233,"avatar_url":"https://avatars0.githubusercontent.com/u/13471233?v=4","gravatar_id":"","url":"https://api.github.com/users/OpportunityLiu","html_url":"https://github.com/OpportunityLiu","followers_url":"https://api.github.com/users/OpportunityLiu/followers","following_url":"https://api.github.com/users/OpportunityLiu/following{/other_user}","gists_url":"https://api.github.com/users/OpportunityLiu/gists{/gist_id}","starred_url":"https://api.github.com/users/OpportunityLiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpportunityLiu/subscriptions","organizations_url":"https://api.github.com/users/OpportunityLiu/orgs","repos_url":"https://api.github.com/users/OpportunityLiu/repos","events_url":"https://api.github.com/users/OpportunityLiu/events{/privacy}","received_events_url":"https://api.github.com/users/OpportunityLiu/received_events","type":"User","site_admin":false},"repo":{"id":126946724,"name":"Aurora.Music","full_name":"OpportunityLiu/Aurora.Music","owner":{"login":"OpportunityLiu","id":13471233,"avatar_url":"https://avatars0.githubusercontent.com/u/13471233?v=4","gravatar_id":"","url":"https://api.github.com/users/OpportunityLiu","html_url":"https://github.com/OpportunityLiu","followers_url":"https://api.github.com/users/OpportunityLiu/followers","following_url":"https://api.github.com/users/OpportunityLiu/following{/other_user}","gists_url":"https://api.github.com/users/OpportunityLiu/gists{/gist_id}","starred_url":"https://api.github.com/users/OpportunityLiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpportunityLiu/subscriptions","organizations_url":"https://api.github.com/users/OpportunityLiu/orgs","repos_url":"https://api.github.com/users/OpportunityLiu/repos","events_url":"https://api.github.com/users/OpportunityLiu/events{/privacy}","received_events_url":"https://api.github.com/users/OpportunityLiu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/OpportunityLiu/Aurora.Music","description":"Aurora Music","fork":true,"url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music","forks_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/forks","keys_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/teams","hooks_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/hooks","issue_events_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/issues/events{/number}","events_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/events","assignees_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/assignees{/user}","branches_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/branches{/branch}","tags_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/tags","blobs_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/statuses/{sha}","languages_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/languages","stargazers_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/stargazers","contributors_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/contributors","subscribers_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/subscribers","subscription_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/subscription","commits_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/contents/{+path}","compare_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/merges","archive_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/downloads","issues_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/issues{/number}","pulls_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/pulls{/number}","milestones_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/milestones{/number}","notifications_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/labels{/name}","releases_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/releases{/id}","deployments_url":"https://api.github.com/repos/OpportunityLiu/Aurora.Music/deployments","created_at":"2018-03-27T07:32:13Z","updated_at":"2018-03-28T08:26:44Z","pushed_at":"2018-03-28T08:26:42Z","git_url":"git://github.com/OpportunityLiu/Aurora.Music.git","ssh_url":"git@github.com:OpportunityLiu/Aurora.Music.git","clone_url":"https://github.com/OpportunityLiu/Aurora.Music.git","svn_url":"https://github.com/OpportunityLiu/Aurora.Music","homepage":"","size":230731,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pkzxs:master","ref":"master","sha":"d3b1eabbb23fc6a9ea82624e221826aa38fd5fde","user":{"login":"pkzxs","id":11695585,"avatar_url":"https://avatars1.githubusercontent.com/u/11695585?v=4","gravatar_id":"","url":"https://api.github.com/users/pkzxs","html_url":"https://github.com/pkzxs","followers_url":"https://api.github.com/users/pkzxs/followers","following_url":"https://api.github.com/users/pkzxs/following{/other_user}","gists_url":"https://api.github.com/users/pkzxs/gists{/gist_id}","starred_url":"https://api.github.com/users/pkzxs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkzxs/subscriptions","organizations_url":"https://api.github.com/users/pkzxs/orgs","repos_url":"https://api.github.com/users/pkzxs/repos","events_url":"https://api.github.com/users/pkzxs/events{/privacy}","received_events_url":"https://api.github.com/users/pkzxs/received_events","type":"User","site_admin":false},"repo":{"id":106936788,"name":"Aurora.Music","full_name":"pkzxs/Aurora.Music","owner":{"login":"pkzxs","id":11695585,"avatar_url":"https://avatars1.githubusercontent.com/u/11695585?v=4","gravatar_id":"","url":"https://api.github.com/users/pkzxs","html_url":"https://github.com/pkzxs","followers_url":"https://api.github.com/users/pkzxs/followers","following_url":"https://api.github.com/users/pkzxs/following{/other_user}","gists_url":"https://api.github.com/users/pkzxs/gists{/gist_id}","starred_url":"https://api.github.com/users/pkzxs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkzxs/subscriptions","organizations_url":"https://api.github.com/users/pkzxs/orgs","repos_url":"https://api.github.com/users/pkzxs/repos","events_url":"https://api.github.com/users/pkzxs/events{/privacy}","received_events_url":"https://api.github.com/users/pkzxs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pkzxs/Aurora.Music","description":"Aurora Music","fork":false,"url":"https://api.github.com/repos/pkzxs/Aurora.Music","forks_url":"https://api.github.com/repos/pkzxs/Aurora.Music/forks","keys_url":"https://api.github.com/repos/pkzxs/Aurora.Music/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pkzxs/Aurora.Music/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pkzxs/Aurora.Music/teams","hooks_url":"https://api.github.com/repos/pkzxs/Aurora.Music/hooks","issue_events_url":"https://api.github.com/repos/pkzxs/Aurora.Music/issues/events{/number}","events_url":"https://api.github.com/repos/pkzxs/Aurora.Music/events","assignees_url":"https://api.github.com/repos/pkzxs/Aurora.Music/assignees{/user}","branches_url":"https://api.github.com/repos/pkzxs/Aurora.Music/branches{/branch}","tags_url":"https://api.github.com/repos/pkzxs/Aurora.Music/tags","blobs_url":"https://api.github.com/repos/pkzxs/Aurora.Music/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pkzxs/Aurora.Music/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pkzxs/Aurora.Music/git/refs{/sha}","trees_url":"https://api.github.com/repos/pkzxs/Aurora.Music/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pkzxs/Aurora.Music/statuses/{sha}","languages_url":"https://api.github.com/repos/pkzxs/Aurora.Music/languages","stargazers_url":"https://api.github.com/repos/pkzxs/Aurora.Music/stargazers","contributors_url":"https://api.github.com/repos/pkzxs/Aurora.Music/contributors","subscribers_url":"https://api.github.com/repos/pkzxs/Aurora.Music/subscribers","subscription_url":"https://api.github.com/repos/pkzxs/Aurora.Music/subscription","commits_url":"https://api.github.com/repos/pkzxs/Aurora.Music/commits{/sha}","git_commits_url":"https://api.github.com/repos/pkzxs/Aurora.Music/git/commits{/sha}","comments_url":"https://api.github.com/repos/pkzxs/Aurora.Music/comments{/number}","issue_comment_url":"https://api.github.com/repos/pkzxs/Aurora.Music/issues/comments{/number}","contents_url":"https://api.github.com/repos/pkzxs/Aurora.Music/contents/{+path}","compare_url":"https://api.github.com/repos/pkzxs/Aurora.Music/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pkzxs/Aurora.Music/merges","archive_url":"https://api.github.com/repos/pkzxs/Aurora.Music/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pkzxs/Aurora.Music/downloads","issues_url":"https://api.github.com/repos/pkzxs/Aurora.Music/issues{/number}","pulls_url":"https://api.github.com/repos/pkzxs/Aurora.Music/pulls{/number}","milestones_url":"https://api.github.com/repos/pkzxs/Aurora.Music/milestones{/number}","notifications_url":"https://api.github.com/repos/pkzxs/Aurora.Music/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pkzxs/Aurora.Music/labels{/name}","releases_url":"https://api.github.com/repos/pkzxs/Aurora.Music/releases{/id}","deployments_url":"https://api.github.com/repos/pkzxs/Aurora.Music/deployments","created_at":"2017-10-14T14:57:15Z","updated_at":"2018-03-27T13:49:32Z","pushed_at":"2018-03-28T08:26:43Z","git_url":"git://github.com/pkzxs/Aurora.Music.git","ssh_url":"git@github.com:pkzxs/Aurora.Music.git","clone_url":"https://github.com/pkzxs/Aurora.Music.git","svn_url":"https://github.com/pkzxs/Aurora.Music","homepage":"","size":230697,"stargazers_count":12,"watchers_count":12,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":4,"open_issues":2,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pkzxs/Aurora.Music/pulls/5"},"html":{"href":"https://github.com/pkzxs/Aurora.Music/pull/5"},"issue":{"href":"https://api.github.com/repos/pkzxs/Aurora.Music/issues/5"},"comments":{"href":"https://api.github.com/repos/pkzxs/Aurora.Music/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/pkzxs/Aurora.Music/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/pkzxs/Aurora.Music/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pkzxs/Aurora.Music/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/pkzxs/Aurora.Music/statuses/9e9935510c7a70b3333f4407f43015c3cc81df2f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"OpportunityLiu"}}