File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -90,19 +90,17 @@ exports.swipeOn = function(autohide) {
90
90
91
91
function queueDraw ( ) {
92
92
const o = exports . offset ;
93
+ Bangle . appRect . y = o + 24 ;
94
+ Bangle . appRect . h = 1 + Bangle . appRect . y2 - Bangle . appRect . y ;
93
95
if ( o > - 24 ) {
94
- Bangle . appRect . y = o + 24 ;
95
- Bangle . appRect . h = 1 + Bangle . appRect . y2 - Bangle . appRect . y ;
96
- if ( o > - 24 ) {
97
- Bangle . setLCDOverlay ( og , 0 , o , {
98
- id :"widget_utils" ,
99
- remove :( ) => {
100
- require ( "widget_utils" ) . cleanupOverlay ( ) ;
101
- }
102
- } ) ;
103
- } else {
104
- Bangle . setLCDOverlay ( undefined , { id : "widget_utils" } ) ;
105
- }
96
+ Bangle . setLCDOverlay ( og , 0 , o , {
97
+ id :"widget_utils" ,
98
+ remove :( ) => {
99
+ require ( "widget_utils" ) . cleanupOverlay ( ) ;
100
+ }
101
+ } ) ;
102
+ } else {
103
+ Bangle . setLCDOverlay ( undefined , { id : "widget_utils" } ) ;
106
104
}
107
105
}
108
106
You can’t perform that action at this time.
0 commit comments