very tiny tweak to your line tool

added a line to display a line on mouse release.