{"action":"opened","issue":{"url":"https://api.github.com/repos/AvaloniaUI/Avalonia/issues/1983","repository_url":"https://api.github.com/repos/AvaloniaUI/Avalonia","labels_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/issues/1983/labels{/name}","comments_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/issues/1983/comments","events_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/issues/1983/events","html_url":"https://github.com/AvaloniaUI/Avalonia/issues/1983","id":372190770,"node_id":"MDU6SXNzdWUzNzIxOTA3NzA=","number":1983,"title":"Size render layers to content.","user":{"login":"grokys","id":1775141,"node_id":"MDQ6VXNlcjE3NzUxNDE=","avatar_url":"https://avatars1.githubusercontent.com/u/1775141?v=4","gravatar_id":"","url":"https://api.github.com/users/grokys","html_url":"https://github.com/grokys","followers_url":"https://api.github.com/users/grokys/followers","following_url":"https://api.github.com/users/grokys/following{/other_user}","gists_url":"https://api.github.com/users/grokys/gists{/gist_id}","starred_url":"https://api.github.com/users/grokys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grokys/subscriptions","organizations_url":"https://api.github.com/users/grokys/orgs","repos_url":"https://api.github.com/users/grokys/repos","events_url":"https://api.github.com/users/grokys/events{/privacy}","received_events_url":"https://api.github.com/users/grokys/received_events","type":"User","site_admin":true},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-20T09:01:36Z","updated_at":"2018-10-20T09:01:36Z","closed_at":null,"author_association":"MEMBER","body":"Render layers currently fill the entire window, no matter the size of the content - this is very wasteful! We make render layers be no larger than they need to be. #1634 tried to address this, but the issue was more complicated:\r\n\r\n> Particularly, I'm concerned what will happen if a layer needs to change size? Will the whole layer be redrawn? If not, what if the layer needs to expand to the left or the top? Will the existing layer content be shifted over correctly?"}}
{"actor":{"display_login":"grokys"}}