Paint brush tool improvement.
This commit is contained in:
parent
b41511e51a
commit
1765e36292
2 changed files with 12 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue