On Wednesday, July 29, 2020 at 8:20:18 AM UTC-7, Eric Shulman wrote:
>
> I did some experimenting, and it doesn't look like modals can be 
> programmatically dismissed.  Some alternatives I can think of:
> 1) Use tm-notify to put up the message.  These messages automatically go 
> away (by default, after 3 seconds).  My concern is that the message might 
> not be as noticeable.
> 2) Don't use ANY TWCore message, but simply write the status into a 
> separate tiddler.  Then, just transclude that tiddler's content somewhere 
> (maybe with an ok/hide button)
> 3) Possibly combine (2) with a modal-like display.  Since the tiddler in 
> (2) would be overwritten each time, the previous display would 
> automatically vanish.
>

updated http://TiddlyTools.com/timer.html

* TiddlyTools/Timer/SampleCountdownSequence now uses a custom message 
display instead of tm-modal (solution #2, above)
* improved "start" button logic to disable button when time values are all 
zero or countdown is actively running

Next... try to figure out where the memory leak is in the $action-timeout 
widget.  This may be a really hard problem to solve.

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0a60ac6e-8520-44d6-acea-cafbd1e8f71bo%40googlegroups.com.

Reply via email to