Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow server to decide to make a timer by ID visible or not #312

Open
Chrezm opened this issue May 31, 2022 · 0 comments · May be fixed by #314
Open

Allow server to decide to make a timer by ID visible or not #312

Chrezm opened this issue May 31, 2022 · 0 comments · May be fixed by #314
Labels
feature A new feature
Milestone

Comments

@Chrezm
Copy link
Owner

Chrezm commented May 31, 2022

Something like this

TV#<timer_id: int>#<visible: int (0 or 1)>

TV#0#0 : Hides timer 0 (if timer 0 exists)
TV#3#1 : Shows timer 3 (f timer 3 exists)

Edge cases:

  • If timer_id is a negative number or not a number less than the number of timers the theme has allocated, this function does nothing.
  • If timer_id is already hidden and the command mandates to hide the timer, this function does nothing. Similar behavior if the timer is shown and the command mandates to show the timer.
  • Hiding or showing a timer should have no effect on whether the timer is paused or not, the firing interval, or step length.
@Chrezm Chrezm added the feature A new feature label May 31, 2022
@Chrezm Chrezm added this to the 1.1.0 milestone May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant