mirror of https://github.com/espruino/BangleApps
Fix issue with widget utils - just a single hidden widget would cancel checking others
parent
cccce9318e
commit
6084c2b9ad
|
@ -88,7 +88,7 @@ exports.swipeOn = function(autohide) {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (var w of global.WIDGETS) {
|
for (var w of global.WIDGETS) {
|
||||||
if (w._draw) return; // already hidden
|
if (w._draw) continue; // already hidden
|
||||||
w._draw = w.draw;
|
w._draw = w.draw;
|
||||||
w.draw = function() {
|
w.draw = function() {
|
||||||
g=og;
|
g=og;
|
||||||
|
|
Loading…
Reference in New Issue