[Commits] [wesnoth/wesnoth] 180ee0: End credits: only start scrolling when the window ...

GitHub noreply at github.com
Sat May 6 15:26:40 UTC 2017


  Branch: refs/heads/large-gui-canvas
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 180ee016292071f60c4bea3d649cbf9772f0cc9a
      https://github.com/wesnoth/wesnoth/commit/180ee016292071f60c4bea3d649cbf9772f0cc9a
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2017-05-06 (Sat, 06 May 2017)

  Changed paths:
    M src/gui/dialogs/end_credits.cpp
    M src/gui/widgets/window.cpp
    M src/gui/widgets/window.hpp

  Log Message:
  -----------
  End credits: only start scrolling when the window is actually drawn

It turned out that "credits start halfway through" wasn't caused by my
changes. The cause was that, in debug builds, the initial draw of the
window took more than three seconds and therefore the window had already
scrolled when it appeared.

This commit fixes the issue.





More information about the Commits mailing list