clean up a slight jitter when drawing circles
commit0e20565e17cd9f1580aa2451de8b16b863ae0382
authorKartik K. Agaram <vc@akkartik.com>
Fri, 15 Sep 2023 15:24:54 +0000 (15 08:24 -0700)
committerKartik K. Agaram <vc@akkartik.com>
Fri, 15 Sep 2023 15:30:15 +0000 (15 08:30 -0700)
tree91c4ab11478d2fa3eb9ac7ce2d8cd981eeff4a06
parent1fd30c0462faf598d5ef7b2911379bc19a649253
clean up a slight jitter when drawing circles

Earlier the ghost while drawing wouldn't quite match the final shape.
Now the math is identical in draw_pending_shape.

It's a little unfortunate that we have this duplication of formulae.

At least there are no other stray calls of App.mouse_x in
draw_pending_shape.
drawing.lua