{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/5529","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5529/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5529/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5529/events","html_url":"https://github.com/mozilla/pdf.js/pull/5529","id":51185098,"number":5529,"title":"Adjust the speed of the indeterminate loading bar according to the viewer width (issue 4718)","user":{"login":"Snuffleupagus","id":2692120,"avatar_url":"https://avatars.githubusercontent.com/u/2692120?v=3","gravatar_id":"","url":"https://api.github.com/users/Snuffleupagus","html_url":"https://github.com/Snuffleupagus","followers_url":"https://api.github.com/users/Snuffleupagus/followers","following_url":"https://api.github.com/users/Snuffleupagus/following{/other_user}","gists_url":"https://api.github.com/users/Snuffleupagus/gists{/gist_id}","starred_url":"https://api.github.com/users/Snuffleupagus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snuffleupagus/subscriptions","organizations_url":"https://api.github.com/users/Snuffleupagus/orgs","repos_url":"https://api.github.com/users/Snuffleupagus/repos","events_url":"https://api.github.com/users/Snuffleupagus/events{/privacy}","received_events_url":"https://api.github.com/users/Snuffleupagus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/pdf.js/labels/1-ux","name":"1-ux","color":"c0c0c0"},{"url":"https://api.github.com/repos/mozilla/pdf.js/labels/4-triage-needed","name":"4-triage-needed","color":"0b02e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-12-06T14:56:35Z","updated_at":"2015-10-30T20:18:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/pdf.js/pulls/5529","html_url":"https://github.com/mozilla/pdf.js/pull/5529","diff_url":"https://github.com/mozilla/pdf.js/pull/5529.diff","patch_url":"https://github.com/mozilla/pdf.js/pull/5529.patch"},"body":"This PR changes the `animation-duration` of the indeterminate loading bar to depend on the viewer width, instead of being constant. \r\nI settled on 500 pixels / second as a reasonable value for the animation speed, but this can easily be changed.\r\nCompared to a previous attempt to solve this (see PR #4741), this should work for *any* viewer width without the need for a large number of added CSS rules.\r\n\r\n*Note:* The first commit is only included to simplify testing, and should *not* be merged.\r\n\r\nFixes #4718."},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/152641861","html_url":"https://github.com/mozilla/pdf.js/pull/5529#issuecomment-152641861","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/5529","id":152641861,"user":{"login":"timvandermeij","id":1993262,"avatar_url":"https://avatars.githubusercontent.com/u/1993262?v=3","gravatar_id":"","url":"https://api.github.com/users/timvandermeij","html_url":"https://github.com/timvandermeij","followers_url":"https://api.github.com/users/timvandermeij/followers","following_url":"https://api.github.com/users/timvandermeij/following{/other_user}","gists_url":"https://api.github.com/users/timvandermeij/gists{/gist_id}","starred_url":"https://api.github.com/users/timvandermeij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timvandermeij/subscriptions","organizations_url":"https://api.github.com/users/timvandermeij/orgs","repos_url":"https://api.github.com/users/timvandermeij/repos","events_url":"https://api.github.com/users/timvandermeij/events{/privacy}","received_events_url":"https://api.github.com/users/timvandermeij/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T20:18:10Z","updated_at":"2015-10-30T20:18:10Z","body":"I'm also fine with closing this. It indeed seems a bit complex for a minor feature. If we leave the tracking issue open, it can be reconsidered later, perhaps with an easier patch that, preferably, involves CSS only. Would you agree?"}}