clockinfo: Tapping Altitude now updates the reading
parent
a7da1bc1dc
commit
74600dde8e
|
|
@ -17,4 +17,5 @@
|
|||
0.16: Add BLE clkinfo entry
|
||||
0.17: Fix BLE icon alignment and border on some clocks
|
||||
0.18: Tweak BLE icon to add gap and ensure middle of B isn't filled
|
||||
0.19: Fix Altitude ClockInfo after BLE added
|
||||
0.19: Fix Altitude ClockInfo after BLE added
|
||||
Tapping Altitude now updates the reading
|
||||
|
|
@ -157,6 +157,7 @@ exports.load = function() {
|
|||
min : 0, max : settings.maxAltitude,
|
||||
img : atob("GBiBAAAAAAAAAAAAAAAAAAAAAAACAAAGAAAPAAEZgAOwwAPwQAZgYAwAMBgAGBAACDAADGAABv///////wAAAAAAAAAAAAAAAAAAAA==")
|
||||
}),
|
||||
run : function() { alt = "--"; this.emit("redraw"); altUpdateHandler(); },
|
||||
show : function() { this.interval = setInterval(altUpdateHandler, 60000); alt = "--"; altUpdateHandler(); },
|
||||
hide : function() { clearInterval(this.interval); delete this.interval; },
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue