File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2727 gl . flip ( 1 ) ;
2828 }
2929 } ,
30- time :100 ,
30+ time :20 ,
3131 interval :100 ,
3232 } ) ;
3333 let done = function ( ) {
5656 gl . flip ( 1 ) ;
5757 }
5858 } ,
59- time :100 ,
59+ time :20 ,
6060 interval :100 ,
6161 } ) ;
6262 let done = function ( ) {
116116 if ( a . loading )
117117 g . drawImage ( a . loading , g . getWidth ( ) / 2 , g . getHeight ( ) / 2 , { rotate :0 /*center*/ } ) ;
118118 a . code ( ) ;
119- let t = getTime ( ) + 0.5 ; while ( getTime ( ) < t ) ;
119+ let t = getTime ( ) + 0.5 ; while ( getTime ( ) < t ) ; // wait for 0.5s (easiest way to) demo
120+ // draw widgets and menu
120121 E . showPrompt ( "Choose this?" , { title :a . name , back :showAnimChooser } ) . then ( ok => {
121- print ( ok ) ;
122122 if ( ok ) {
123123 settings . anim = idx ;
124124 saveBootAnim ( ) ;
127127 } else showAnimChooser ( ) ;
128128 } ) ;
129129 Bangle . drawWidgets ( ) ;
130+ // wait for another 0.5s for rest of load screen to complete
130131 t = getTime ( ) + 0.5 ; while ( getTime ( ) < t ) ;
131132 } , 10 ) ;
132133 } ;
You can’t perform that action at this time.
0 commit comments