erikhuizinga / ranstax

Random item picker from named stacks of known size
https://erikhuizinga.github.io/ranstax/
GNU General Public License v3.0
6 stars 2 forks source link

Debounce drawing #3

Closed erikhuizinga closed 1 year ago

erikhuizinga commented 1 year ago

Debounce drawing, so that accidental double clicks/taps are filtered.

A debounce of 200 milliseconds should do the trick. The UI shouldn't reflect the 'disabled' state, because it's would lead to excessive 'flashing' or animations. Maybe the history items appearing can be animated with the same debounce time? This would also help with visibility of history items appearing (#4).

erikhuizinga commented 1 year ago

Added in 84f05c1d3ccb855c84d167ac42d2878c25804def.