@@ -36,15 +36,15 @@ export function show(): void {
3636 textEl . classList . remove ( "hidden" ) ;
3737 } ,
3838 } ) ;
39- } else if ( Config . timerStyle === "flash mini " ) {
39+ } else if ( Config . timerStyle === "flash_mini " ) {
4040 animate ( miniEl , {
4141 opacity : [ 0 , 1 ] ,
4242 duration : applyReducedMotion ( 125 ) ,
4343 onBegin : ( ) => {
4444 miniEl . classList . remove ( "hidden" ) ;
4545 } ,
4646 } ) ;
47- } else if ( Config . timerStyle === "flash text " ) {
47+ } else if ( Config . timerStyle === "flash_text " ) {
4848 animate ( textEl , {
4949 opacity : [ 0 , 1 ] ,
5050 duration : applyReducedMotion ( 125 ) ,
@@ -140,7 +140,7 @@ export function update(): void {
140140 if ( textEl !== null ) {
141141 textEl . innerHTML = "<div>" + displayTime + "</div>" ;
142142 }
143- } else if ( Config . timerStyle === "flash mini " ) {
143+ } else if ( Config . timerStyle === "flash_mini " ) {
144144 let displayTime = DateTime . secondsToString ( maxtime - time ) ;
145145 if ( maxtime === 0 ) {
146146 displayTime = DateTime . secondsToString ( time ) ;
@@ -153,7 +153,7 @@ export function update(): void {
153153 }
154154 miniEl . innerHTML = "<div>" + displayTime + "</div>" ;
155155 }
156- } else if ( Config . timerStyle === "flash text " ) {
156+ } else if ( Config . timerStyle === "flash_text " ) {
157157 let displayTime = DateTime . secondsToString ( maxtime - time ) ;
158158 if ( maxtime === 0 ) {
159159 displayTime = DateTime . secondsToString ( time ) ;
@@ -203,13 +203,13 @@ export function update(): void {
203203 } else {
204204 textEl . innerHTML = `<div>${ getCurrentCount ( ) } /${ outof } </div>` ;
205205 }
206- } else if ( Config . timerStyle === "flash mini " ) {
206+ } else if ( Config . timerStyle === "flash_mini " ) {
207207 if ( outof === 0 ) {
208208 miniEl . innerHTML = `${ TestInput . input . getHistory ( ) . length } ` ;
209209 } else {
210210 miniEl . innerHTML = `${ getCurrentCount ( ) } /${ outof } ` ;
211211 }
212- } else if ( Config . timerStyle === "flash text " ) {
212+ } else if ( Config . timerStyle === "flash_text " ) {
213213 if ( outof === 0 ) {
214214 textEl . innerHTML = `<div>${ TestInput . input . getHistory ( ) . length } </div>` ;
215215 } else {
@@ -225,9 +225,9 @@ export function update(): void {
225225 } else if ( Config . mode === "zen" ) {
226226 if ( Config . timerStyle === "text" ) {
227227 textEl . innerHTML = `<div>${ TestInput . input . getHistory ( ) . length } </div>` ;
228- } else if ( Config . timerStyle === "flash mini " ) {
228+ } else if ( Config . timerStyle === "flash_mini " ) {
229229 miniEl . innerHTML = `${ TestInput . input . getHistory ( ) . length } ` ;
230- } else if ( Config . timerStyle === "flash text " ) {
230+ } else if ( Config . timerStyle === "flash_text " ) {
231231 textEl . innerHTML = `<div>${ TestInput . input . getHistory ( ) . length } </div>` ;
232232 } else {
233233 miniEl . innerHTML = `${ TestInput . input . getHistory ( ) . length } ` ;
0 commit comments