{"action":"created","issue":{"url":"https://api.github.com/repos/chaorace/cqui/issues/138","repository_url":"https://api.github.com/repos/chaorace/cqui","labels_url":"https://api.github.com/repos/chaorace/cqui/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/chaorace/cqui/issues/138/comments","events_url":"https://api.github.com/repos/chaorace/cqui/issues/138/events","html_url":"https://github.com/chaorace/cqui/issues/138","id":191285990,"number":138,"title":"Next/Prev City button in city view doesn't hide the border expansion tile mask of the city you just left","user":{"login":"zxcvforz","id":6653593,"avatar_url":"https://avatars.githubusercontent.com/u/6653593?v=3","gravatar_id":"","url":"https://api.github.com/users/zxcvforz","html_url":"https://github.com/zxcvforz","followers_url":"https://api.github.com/users/zxcvforz/followers","following_url":"https://api.github.com/users/zxcvforz/following{/other_user}","gists_url":"https://api.github.com/users/zxcvforz/gists{/gist_id}","starred_url":"https://api.github.com/users/zxcvforz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxcvforz/subscriptions","organizations_url":"https://api.github.com/users/zxcvforz/orgs","repos_url":"https://api.github.com/users/zxcvforz/repos","events_url":"https://api.github.com/users/zxcvforz/events{/privacy}","received_events_url":"https://api.github.com/users/zxcvforz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-23T14:32:37Z","updated_at":"2016-11-23T15:47:16Z","closed_at":null,"body":"Steps to reproduce:\r\n\r\n1. Have more than 1 city in the game. Let's name them A and B.\r\n2. Enter city A. City A will show its border expansion tile in purple.\r\n3. Click on the arrow for next city to go to city B.\r\n4. Exit city view via right-click.\r\n5. Pan the map back to city A.\r\n6. City A's border expansion tile mask remains visible in world view.\r\n\r\nThe title of this issue is named this way because for each city we visit via the Next/Prev arrow, the city that we have just left will have its border expansion tile mask visible. So by visiting multiple cities before we exit the city view, we can end up with multiple cities showing the mask as shown below:\r\n\r\n![289070_20161123221411_1c](https://cloud.githubusercontent.com/assets/6653593/20565227/9c5f76a0-b1cb-11e6-8922-5f2d15716b00.jpg)\r\n\r\nIn the image above, I exited the city view while I was in Alesund, which is why Alesund's border expansion mask was hidden properly.\r\n\r\nI have been able to reproduce this on two different saves playing different civilizations, so it shouldn't be save dependent. But here's the save for the game shown in the above image:\r\n\r\n[BorderExpansionMaskingBug.zip](https://github.com/chaorace/cqui/files/609064/BorderExpansionMaskingBug.zip)\r\n"},"comment":{"url":"https://api.github.com/repos/chaorace/cqui/issues/comments/262551840","html_url":"https://github.com/chaorace/cqui/issues/138#issuecomment-262551840","issue_url":"https://api.github.com/repos/chaorace/cqui/issues/138","id":262551840,"user":{"login":"jacks0nX","id":2789832,"avatar_url":"https://avatars.githubusercontent.com/u/2789832?v=3","gravatar_id":"","url":"https://api.github.com/users/jacks0nX","html_url":"https://github.com/jacks0nX","followers_url":"https://api.github.com/users/jacks0nX/followers","following_url":"https://api.github.com/users/jacks0nX/following{/other_user}","gists_url":"https://api.github.com/users/jacks0nX/gists{/gist_id}","starred_url":"https://api.github.com/users/jacks0nX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacks0nX/subscriptions","organizations_url":"https://api.github.com/users/jacks0nX/orgs","repos_url":"https://api.github.com/users/jacks0nX/repos","events_url":"https://api.github.com/users/jacks0nX/events{/privacy}","received_events_url":"https://api.github.com/users/jacks0nX/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T15:47:16Z","updated_at":"2016-11-23T15:47:16Z","body":"Ah, noticed that myself, so that's the reason for it."}}
{"actor":{"display_login":"jacks0nX"}}