@@ -133,10 +133,10 @@ class Game {
133133 context . textBaseline = 'middle' ;
134134 context . textAlign = 'center' ;
135135 if ( isMobile ( ) ) {
136- const fontSize = Math . min ( 70 , 0.04 * window . innerWidth ) , fontSize2 = Math . min ( 17 , 0.015 * window . innerWidth ) ;
137- const offset = 0 , offset2 = isMobile ( ) ? - 2 : - 25 ;
138- const rectHeight = Math . min ( 350 , window . innerHeight * 0.375 ) ;
139- const rectOffset = isMobile ( ) ? 20 : 0 ;
136+ const fontSize = 16 , fontSize2 = 7 ;
137+ const offset = 0 , offset2 = - 2 ;
138+ const rectHeight = 275 ;
139+ const rectOffset = 20 ;
140140 context . fillStyle = 'rgba(0,0,0,0.5)' ;
141141 context . fillRect ( 0 , ( this . canvas . height - rectHeight ) * 0.5 + rectOffset , this . canvas . width , rectHeight ) ;
142142
@@ -157,7 +157,7 @@ class Game {
157157 } else {
158158 const fontSize = 70 , fontSize2 = 17 ;
159159 const offset = 0 , offset2 = - 25 ;
160- const rectHeight = 350 ;
160+ const rectHeight = 375 ;
161161 context . fillStyle = 'rgba(0,0,0,0.5)' ;
162162 context . fillRect ( 0 , ( this . canvas . height - rectHeight ) * 0.5 , this . canvas . width , rectHeight ) ;
163163
0 commit comments