Leyart / aseprite

Automatically exported from code.google.com/p/aseprite
0 stars 0 forks source link

Inappropriate double click registration #390

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
All UI elements can receive kDoubleClickMessage events, however most of them 
only implement a behavior on single click events, meaning two clicks in quick 
succession will always result in the second click being ignored.

Double-clicking the scrollbar's gutter area will only cause one jump.

Double-clicking a checkbox or pin/unpin button does not undo an accidental 
click.

Double-clicking a dropdown causes it to stay open (or closed).

Double-clicking the pen tool in the actual editor and keeping the button 
pressed down will cause the drag event not to start.

Clicking the "+" (new frame) button at the bottom only lets you create half as 
many frames as the number of clicks.

Recommendation: Disable double click detection everywhere, except for those 
rare elements that actually implement a behavior for it:

https://github.com/aseprite/aseprite/search?q=kDoubleClickMessage&ref=cmdform

Original issue reported on code.google.com by kiwibo...@gmail.com on 19 Apr 2014 at 12:18

GoogleCodeExporter commented 9 years ago
Done. 
https://github.com/aseprite/aseprite/commit/15a3b6ac2c96378893fb5e33b64a1f3f0584
ee8b

Original comment by davidcapello on 28 Apr 2014 at 4:28