File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ let changeBGColor = function() {
4444 if ( settings . colorPurple ) bgColors . push ( "#B200ED" ) ;
4545 if ( settings . colorBlack ) bgColors . push ( "#000" ) ;
4646
47- let oldColorIdx = bgColors . indexOf ( settings . colorSaved ) ;
47+ let oldColorId = bgColors . indeOf ( settings . colorSaved ) ;
4848 if ( oldColorIdx !== - 1 ) bgColors . splice ( oldColorIdx , 1 ) ;
4949 let col = bgColors [ ( Math . random ( ) * bgColors . length ) | 0 ] || "#000" ;
5050
@@ -77,9 +77,7 @@ let draw = function() {
7777 drawTimeout = setTimeout ( draw , 60000 - ( Date . now ( ) % 60000 ) ) ;
7878
7979 R = Bangle . appRect ;
80- x = R . w / 2 ;
81- y = R . y + R . h / 2 - 6 ;
82- if ( ! settings . hideWidgets ) y -= 6 ;
80+
8381
8482 var date = new Date ( ) ;
8583 var local_time = require ( "locale" ) . time ( date , 1 ) ;
You can’t perform that action at this time.
0 commit comments