]> git.cworth.org Git - kub/commit
Allow selection of a tile by including any corner
authorKevin Worth <kworth@kworth-laptop.(none)>
Fri, 12 Jun 2009 13:54:26 +0000 (09:54 -0400)
committerKevin Worth <kworth@kworth-laptop.(none)>
Mon, 15 Jun 2009 18:55:39 +0000 (14:55 -0400)
commit3242fcf7fba52a1b73a7511e37ab2865d161bedd
treefdb4e963d73704fe5122df85cd8377878b850fc0
parent343a6b435b5a47fc30afb603c3259b96f5e384e8
Allow selection of a tile by including any corner

      A group of tiles can now be selected by overlapping the
      selection_box with any corner of each tile(top-left,
      bottom-right, etc)

      Bug fix: previously, the corners of the selection_box were
      not being updated if the mouse was clicked without being
      dragged. Now, with each click, x2 is set equal to x1, and
      y2 to y1. Then, as before, they are updated as the mouse
      is dragged.
kub.c