{"push_id":1326975963,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"667064a8af6d6d65d7af981edc2a7fbe4cc8ba16","before":"722600a313dc91ace419e36f02aee1169d483f8d","commits":[{"sha":"667064a8af6d6d65d7af981edc2a7fbe4cc8ba16","author":{"name":"Jyrki Vesterinen","email":"75f8c341c9204b10317eb8fc0f17b979726a76d2@gmail.com"},"message":"Experimental MP lobby: scroll to selected game less often\n\nThe lobby calls tlistbox::set_row_shown() every single time there is *any*\nchange in the gamelist. Most of the time, the visibility of rows hasn't\neven changed.\n\nTlistbox::set_row_shown() calls content_resize_request() to determine if\ntwindow::invalidate_layout() needs to be called. Content_resize_request()\nunconditionally calls show_content_rect() that checks if the selected item\nis visible and scrolls to it if it isn't.\n\nWith this commit, set_row_shown() returns early if visibility of rows\nhasn't changed. This reduces the frequency of scrolling.\n\nThis commit isn't a complete fix, since the selected game will still come\ninto view when, for example, a new game is created. However, at least this\nimproves the situation.","distinct":true,"url":"https://api.github.com/repos/wesnoth/wesnoth/commits/667064a8af6d6d65d7af981edc2a7fbe4cc8ba16"}]}
{"actor":{"display_login":"jyrkive"}}