[Commits] [wesnoth/wesnoth] 02b39f: Fix: it was possible to shrink GUI canvas widgets

GitHub noreply at github.com
Tue Jan 17 20:16:30 UTC 2017


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

  Changed paths:
    M src/gui/widgets/drawing.cpp
    M src/gui/widgets/drawing.hpp

  Log Message:
  -----------
  Fix: it was possible to shrink GUI canvas widgets

Regression from e4aa7c0d9504b5286ece73941421768948024774. It was the
drawing widget code that was in the wrong, since styled_widget has never
explicitly guaranteed that it won't shrink.

Fixes a WML error in shop dialogs in the UMC campaign Bad Moon Rising with
a low screen resolution.





More information about the Commits mailing list