{"action":"created","issue":{"url":"https://api.github.com/repos/kivy/kivent/issues/81","labels_url":"https://api.github.com/repos/kivy/kivent/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/kivy/kivent/issues/81/comments","events_url":"https://api.github.com/repos/kivy/kivent/issues/81/events","html_url":"https://github.com/kivy/kivent/issues/81","id":99389400,"number":81,"title":"focus_entity stop working when map size changed","user":{"login":"mahomahomaho","id":1900385,"avatar_url":"https://avatars.githubusercontent.com/u/1900385?v=3","gravatar_id":"","url":"https://api.github.com/users/mahomahomaho","html_url":"https://github.com/mahomahomaho","followers_url":"https://api.github.com/users/mahomahomaho/followers","following_url":"https://api.github.com/users/mahomahomaho/following{/other_user}","gists_url":"https://api.github.com/users/mahomahomaho/gists{/gist_id}","starred_url":"https://api.github.com/users/mahomahomaho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahomahomaho/subscriptions","organizations_url":"https://api.github.com/users/mahomahomaho/orgs","repos_url":"https://api.github.com/users/mahomahomaho/repos","events_url":"https://api.github.com/users/mahomahomaho/events{/privacy}","received_events_url":"https://api.github.com/users/mahomahomaho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-06T08:55:34Z","updated_at":"2015-09-14T22:17:57Z","closed_at":null,"body":"When map size is set to window.root initially, and then changed to bigger size (eg. after level loaded, then focus entity stop working when window size changed). \r\n\r\nHow to reproduce: \r\n* hg clone https://bitbucket.org/maho/tmpcase3\r\n* cd tmpcase3 && python khamster.py\r\n* you will see that camera is following hamster, \r\n* resize window (eg. maximize it)\r\n\r\nSHOULD BE: camera should still follow hamster\r\nIS: camera stop following hamster and sticks in left-top corner of the map. "},"comment":{"url":"https://api.github.com/repos/kivy/kivent/issues/comments/140221421","html_url":"https://github.com/kivy/kivent/issues/81#issuecomment-140221421","issue_url":"https://api.github.com/repos/kivy/kivent/issues/81","id":140221421,"user":{"login":"mahomahomaho","id":1900385,"avatar_url":"https://avatars.githubusercontent.com/u/1900385?v=3","gravatar_id":"","url":"https://api.github.com/users/mahomahomaho","html_url":"https://github.com/mahomahomaho","followers_url":"https://api.github.com/users/mahomahomaho/followers","following_url":"https://api.github.com/users/mahomahomaho/following{/other_user}","gists_url":"https://api.github.com/users/mahomahomaho/gists{/gist_id}","starred_url":"https://api.github.com/users/mahomahomaho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahomahomaho/subscriptions","organizations_url":"https://api.github.com/users/mahomahomaho/orgs","repos_url":"https://api.github.com/users/mahomahomaho/repos","events_url":"https://api.github.com/users/mahomahomaho/events{/privacy}","received_events_url":"https://api.github.com/users/mahomahomaho/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T22:17:57Z","updated_at":"2015-09-14T22:17:57Z","body":"But I set map_size here: https://bitbucket.org/maho/tmpcase3/src/ac76865332cef871376124a9a7cc2a1e685d625f/game.py?at=default&fileviewer=file-view-default#game.py-36\r\n\r\nSo is no longer bound to root.size, I think ...."}}