@@ -137,7 +137,7 @@ let clockInfoMenuInline;
137137if ( showInlineClkInfo ) {
138138 clockInfoMenuInline = require ( "clock_info" ) . addInteractive ( clockInfoItems , {
139139 // Add the dimensions we're rendering to here - these are used to detect taps on the clock info area
140- x : g . getWidth ( ) / 2 + 6 , y : 69 , w : 80 , h :25 ,
140+ x : g . getWidth ( ) / 2 + 6 , y : 69 , w : 95 , h :25 ,
141141 // You can add other information here you want to be passed into 'options' in 'draw'
142142 // This function draws the info
143143 draw : ( itm , info , options ) => {
@@ -153,7 +153,7 @@ if(showInlineClkInfo){
153153
154154 }
155155 // we're drawing center-aligned here
156- var midx = options . x + options . w / 2 ;
156+ // var midx = options.x+options.w/2;
157157 var midy = options . y + options . h / 2 ;
158158 if ( info . img ) {
159159 g . drawImage ( info . img , options . x + 4 , midy - 7.2 , { scale : 0.63 } ) ;
@@ -212,7 +212,6 @@ let draw = function() {
212212 // pad the date - this clears the background if the date were to change length
213213 var dateStr = require ( "locale" ) . dow ( new Date ( ) , 1 ) + ", " + new Date ( ) . getDate ( ) ;
214214 //print(g.stringHeight(dateStr));
215- dateStrWidth = g . stringWidth ( dateStr ) ;
216215 g . drawString ( " " + dateStr + " " , g . getWidth ( ) / 2 + 6 , Y + 9 , true /*clear background*/ ) ;
217216
218217 Bangle . drawWidgets ( ) ;
0 commit comments