flandreas / antares

Digital circuit learning platform
49 stars 6 forks source link

Switches with minimum "on time" #732

Closed fpw closed 6 months ago

fpw commented 6 months ago

Right now, the duration of a switch delay depends entirely on the delay that the user spends holding the button.

However, this has a few disadvantages:

For these reasons, I propose to add a new property to switches: A minimum on-time. If that is set and the mouse is released before this duration has passed, the switch will remain pressed until that time is over.

PR for this is on the way.

flandreas commented 6 months ago

Very good suggestion!