Reverted to original screen screen update bounds for eraser tool (adding +1 or +10 to bounds does not fix the ghosting lines problem on Mac OS X)
This commit is contained in:
parent
c449654db9
commit
0b8fbed73c
1 changed files with 8 additions and 8 deletions
|
|
@ -3334,10 +3334,10 @@ static void mainloop(void)
|
||||||
rect_xor(old_x - w / 2, old_y - h / 2,
|
rect_xor(old_x - w / 2, old_y - h / 2,
|
||||||
old_x + w / 2, old_y + h / 2);
|
old_x + w / 2, old_y + h / 2);
|
||||||
|
|
||||||
update_screen(old_x - w / 2 + r_canvas.x - 10,
|
update_screen(old_x - w / 2 + r_canvas.x,
|
||||||
old_y - h / 2 + r_canvas.y - 10,
|
old_y - h / 2 + r_canvas.y,
|
||||||
old_x + w / 2 + r_canvas.x + 10,
|
old_x + w / 2 + r_canvas.x,
|
||||||
old_y + h / 2 + r_canvas.y + 10);
|
old_y + h / 2 + r_canvas.y);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -3358,10 +3358,10 @@ static void mainloop(void)
|
||||||
rect_xor(new_x - w / 2, new_y - h / 2,
|
rect_xor(new_x - w / 2, new_y - h / 2,
|
||||||
new_x + w / 2, new_y + h / 2);
|
new_x + w / 2, new_y + h / 2);
|
||||||
|
|
||||||
update_screen(new_x - w / 2 + r_canvas.x - 10,
|
update_screen(new_x - w / 2 + r_canvas.x,
|
||||||
new_y - h / 2 + r_canvas.y - 10,
|
new_y - h / 2 + r_canvas.y,
|
||||||
new_x + w / 2 + r_canvas.x + 10,
|
new_x + w / 2 + r_canvas.x,
|
||||||
new_y + h / 2 + r_canvas.y + 10);
|
new_y + h / 2 + r_canvas.y);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue