{"action":"created","issue":{"url":"https://api.github.com/repos/LMMS/lmms/issues/2657","repository_url":"https://api.github.com/repos/LMMS/lmms","labels_url":"https://api.github.com/repos/LMMS/lmms/issues/2657/labels{/name}","comments_url":"https://api.github.com/repos/LMMS/lmms/issues/2657/comments","events_url":"https://api.github.com/repos/LMMS/lmms/issues/2657/events","html_url":"https://github.com/LMMS/lmms/pull/2657","id":139708263,"number":2657,"title":"Implements #2635: Draws a transparent rectangle in the loop area (plus CSS exposure)","user":{"login":"michaelgregorius","id":9293269,"avatar_url":"https://avatars.githubusercontent.com/u/9293269?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelgregorius","html_url":"https://github.com/michaelgregorius","followers_url":"https://api.github.com/users/michaelgregorius/followers","following_url":"https://api.github.com/users/michaelgregorius/following{/other_user}","gists_url":"https://api.github.com/users/michaelgregorius/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelgregorius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelgregorius/subscriptions","organizations_url":"https://api.github.com/users/michaelgregorius/orgs","repos_url":"https://api.github.com/users/michaelgregorius/repos","events_url":"https://api.github.com/users/michaelgregorius/events{/privacy}","received_events_url":"https://api.github.com/users/michaelgregorius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":54,"created_at":"2016-03-09T21:38:56Z","updated_at":"2016-06-04T17:04:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/LMMS/lmms/pulls/2657","html_url":"https://github.com/LMMS/lmms/pull/2657","diff_url":"https://github.com/LMMS/lmms/pull/2657.diff","patch_url":"https://github.com/LMMS/lmms/pull/2657.patch"},"body":"The color for the rectangle can be defined in the style CSS for the\r\nactive and inactive case. Some other properties of the TimeLineWidget\r\nare now exposed through the CSS as well:\r\n* The color of the lines that are drawn at each tact\r\n* The color of the tact numbers\r\n* The font size\r\n* The minimum height of the widget\r\n\r\nIt is therefore possible to change the height of the time line using the\r\nCSS.\r\n\r\nThe tact numbers are drawn conditionally like the tact lines. The\r\nnumbers are drawn with a constant distance to the tact line. This gives\r\na more consistent picture at different zoom levels and also fixes the\r\nbroken look at very small zoom sizes like for example 12.5%.\r\n\r\nLast but not least the order in which the elements of the time line are\r\ndrawn has been adjusted. The loop markers are now drawn after the lines,\r\nnumbers and the loop rectangle so that they overlay these elements.\r\n\r\nInactive loop:\r\n![2635-loop-inactive](https://cloud.githubusercontent.com/assets/9293269/13651417/8ebc6fbc-e647-11e5-90d4-e0693ffcbc27.png)\r\n\r\nActive loop:\r\n![2635-loop-active](https://cloud.githubusercontent.com/assets/9293269/13651426/9b4b9604-e647-11e5-950b-5d7a37ad1ee6.png)\r\n\r\nSmall zoom:\r\n![2635-small-zoom](https://cloud.githubusercontent.com/assets/9293269/13651433/a26b6b58-e647-11e5-9206-5eedcb243d32.png)\r\n"},"comment":{"url":"https://api.github.com/repos/LMMS/lmms/issues/comments/223766512","html_url":"https://github.com/LMMS/lmms/pull/2657#issuecomment-223766512","issue_url":"https://api.github.com/repos/LMMS/lmms/issues/2657","id":223766512,"user":{"login":"Umcaruje","id":6282045,"avatar_url":"https://avatars.githubusercontent.com/u/6282045?v=3","gravatar_id":"","url":"https://api.github.com/users/Umcaruje","html_url":"https://github.com/Umcaruje","followers_url":"https://api.github.com/users/Umcaruje/followers","following_url":"https://api.github.com/users/Umcaruje/following{/other_user}","gists_url":"https://api.github.com/users/Umcaruje/gists{/gist_id}","starred_url":"https://api.github.com/users/Umcaruje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Umcaruje/subscriptions","organizations_url":"https://api.github.com/users/Umcaruje/orgs","repos_url":"https://api.github.com/users/Umcaruje/repos","events_url":"https://api.github.com/users/Umcaruje/events{/privacy}","received_events_url":"https://api.github.com/users/Umcaruje/received_events","type":"User","site_admin":false},"created_at":"2016-06-04T17:04:19Z","updated_at":"2016-06-04T17:04:19Z","body":"I also agree that the timeline would look a lot better when flat. Good job on the rebasing @michaelgregorius :+1: "}}
{"actor":{"display_login":"Umcaruje"}}