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

@ -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();