File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,14 @@ export function show(): void {
3636 textEl . classList . remove ( "hidden" ) ;
3737 } ,
3838 } ) ;
39+ } else if ( Config . timerStyle === "flash" ) {
40+ animate ( textEl , {
41+ opacity : [ 0 , 1 ] ,
42+ duration : applyReducedMotion ( 125 ) ,
43+ onBegin : ( ) => {
44+ textEl . classList . remove ( "hidden" ) ;
45+ } ,
46+ } ) ;
3947 } else if ( Config . mode === "zen" || Config . timerStyle === "mini" ) {
4048 animate ( miniEl , {
4149 opacity : [ 0 , 1 ] ,
@@ -132,7 +140,7 @@ export function update(): void {
132140 if ( textEl !== null ) {
133141 textEl . innerHTML =
134142 "<div>" +
135- `${ parseInt ( displayTime ) % 15 !== 0 ? "" : displayTime } ` +
143+ `${ ( maxtime - time ) % 15 !== 0 ? "" : displayTime } ` +
136144 "</div>" ;
137145 }
138146 } else if ( Config . timerStyle === "mini" ) {
You can’t perform that action at this time.
0 commit comments