[Commits] [wesnoth/wesnoth] 193582: GUI2 MP lobby: fix the game list jumping to top wh...

GitHub noreply at github.com
Sat Oct 8 14:38:04 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 19358294be01c2718d71abbde3b89eab3aba99ad
      https://github.com/wesnoth/wesnoth/commit/19358294be01c2718d71abbde3b89eab3aba99ad
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2016-10-08 (Sat, 08 Oct 2016)

  Changed paths:
    M src/gui/widgets/control.cpp
    M src/gui/widgets/listbox.cpp
    M src/gui/widgets/scrollbar_container.cpp
    M src/gui/widgets/scrollbar_container.hpp

  Log Message:
  -----------
  GUI2 MP lobby: fix the game list jumping to top when a new game starts

The fix is to restore the previous scroll position after the window is
laid out as a result of the new list item.

I also demoted one log message from info to debug level. It was way too
frequent for the info level.





More information about the Commits mailing list