bfritscher / carnac

A utility to give some insight into how you use your keyboard
http://carnackeys.com/
Microsoft Public License
691 stars 69 forks source link

Static circle after release of the mouse button #25

Open fknipp opened 3 years ago

fknipp commented 3 years ago

If a mouse click is performed, the circle follows the mouse, even if the key is released. This makes it more difficult to see the point, where the mouse was initially clicked. There's also no visual indication to cue to distinguish between a click and the start of mouse dragging.

I'd suggest the following behaviour:

  1. Mouse button is pressed down: Circle is rendered and expanded to stop scale, but no opacity and border width changes are triggered.
  2. Mouse is dragged: The circle moves with the pointer and remains at stop scale, start border and start opacity.
  3. Mouse button is released: The circle stops moving, the animation to stop border and stop opacity is started.

This change may lead to several circles shown at the same time.