Paint brush tool improvement.

This commit is contained in:
William Kendrick 2008-08-14 15:06:52 +00:00
parent b41511e51a
commit 1765e36292
2 changed files with 12 additions and 2 deletions

View file

@ -8,7 +8,7 @@ http://www.tuxpaint.org/
$Id$
2008.August.8 (0.9.21)
2008.August.14 (0.9.21)
* New Starters:
-------------
* Silver Frame
@ -88,6 +88,11 @@ $Id$
Tux Paint is the active application again.)
John Popplewell <john@johnnypops.demon.co.uk>
* Directional brushes used to always begin with middle image;
now this only happens if you click and release, with dragging.
Jason Ward <nyad55@gmail.com>
Pere Pujal i Carabantes <pere@fornol.no-ip.org>
2008.June.26 (0.9.20)
* New translations:

View file

@ -3666,7 +3666,12 @@ static void mainloop(void)
if (button_down)
{
if (cur_tool == TOOL_LINES)
if (cur_tool == TOOL_BRUSH)
{
/* (Drawing on mouse release to fix single click issue) */
brush_draw(old_x, old_y, old_x, old_y, 1);
}
else if (cur_tool == TOOL_LINES)
{
/* (Arbitrarily large, so we draw once now) */
reset_brush_counter();