powermanager - Fix drawing on hidden widgets when LCD brightness is changed
parent
eab7ae25d9
commit
290fd81f46
|
|
@ -7,4 +7,5 @@
|
|||
0.06: Allow logging of some things using power
|
||||
Add widget for live monitoring of power use
|
||||
0.07: Convert Yes/No On/Off in settings to checkboxes
|
||||
0.08: Fix the wrapping of intervals/timeouts with parameters
|
||||
0.08: Fix the wrapping of intervals/timeouts with parameters
|
||||
Fix the widget drawing if widgets are hidden and Bangle.setLCDBrightness is called
|
||||
|
|
@ -24,7 +24,7 @@ currently-running apps */
|
|||
let brightnessSetting = settings.brightness || 1;
|
||||
Bangle.setLCDBrightness = ((o) => (a) => {
|
||||
brightnessSetting = a;
|
||||
draw(WIDGETS.powermanager);
|
||||
WIDGETS.powermanager.draw(WIDGETS.powermanager);
|
||||
return o(a);
|
||||
})(Bangle.setLCDBrightness);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue