[Commits] [wesnoth/wesnoth] 01a81c: Fix some GUI dialogs that don't fit on screen dark...

GitHub noreply at github.com
Tue Dec 12 19:42:30 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 01a81c2c6dfa67f0e34c3f78b994fc5e114dd7f5
      https://github.com/wesnoth/wesnoth/commit/01a81c2c6dfa67f0e34c3f78b994fc5e114dd7f5
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2017-12-12 (Tue, 12 Dec 2017)

  Changed paths:
    M src/sdl/surface.hpp

  Log Message:
  -----------
  Fix some GUI dialogs that don't fit on screen darkening on redraws

Clip_rect_setter was implemented incorrectly: it ignored the previous clip
rectangle and sometimes made the clip rectangle *larger* than it was
before. That allowed partially obscured widgets to draw to a larger screen
area than they were supposed to.

Fixes #1583, #1591, #2202.





More information about the Commits mailing list