Skip to content

Releases: rajpiskala/up-down-timer

Release list

Initial Release

Choose a tag to compare

@rajpiskala rajpiskala released this 05 Sep 02:37
5e054fe

Summary: Converted loop timer into an up-down timer

Functionality introduced as part of this release:

  • Start the timer at 0 seconds
  • If the user presses Alt + K, then the timer will start counting up, adding 1 second to the clock for each second.
  • If the user presses Alt + J, then the timer will start counting down, taking away 1 second from the clock for each second.
  • If the user presses Alt + K N times, then the timer will count up at a rate of N per second.
  • If the user presses Alt + J N times, then the timer will count down at a rate of N per second.
  • If the timer is currently counting down at say, a rate of 2 per second, then pressing Alt + K once will result in the timer counting down at a rate of 1 per second, NOT counting up at a rate of 1 per second
  • Pressing Alt + P will pause / unpause the timer -- this is a simple toggle between the states
  • Whenever the user hits Alt + K, Alt + J, or Alt + P, the current counting rate should be shown as a tooltip where the mouse is with a text displayed of "Up: " if it's zero or positive, or "Down: "
  • The counter is displayed as minutes and seconds as the original timer displayed it
  • If the time goes below zero, a negative sign "-" is prepended to the current time