[Commits] [wesnoth/wesnoth] c486e4: trectangle: fix draw rects sometimes being inaccur...

GitHub noreply at github.com
Sun Mar 13 13:49:08 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: c486e4b0404315a0a4c19e545a0084de4d7dcf56
      https://github.com/wesnoth/wesnoth/commit/c486e4b0404315a0a4c19e545a0084de4d7dcf56
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M src/gui/auxiliary/canvas.cpp

  Log Message:
  -----------
  trectangle: fix draw rects sometimes being inaccurate (fixup a30a62787387)

Apparently, the manual rect calculations sometimes (eg, with the Progress Bar widget)
resulted in incorrectly placed rectangles being drawn. Using the bare dimension
values fixes this problem.





More information about the Commits mailing list