As mentioned yesterday, I'm currently developing an analog clock with several configuration screens.
Widgets should only be shown while the clock is running - and hidden while any configuration screen is active. I already figured out how to (temporarily) let Bangle.appRect cover the whole screen, and (during configuration) I also do not actively draw any widgets.
However, from time to time, some widgets still appear on the screen - presumably because that widget wants to inform about some changes (e.g., the battery widget).
How do I temporarily prevent widgets from being shown?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
As mentioned yesterday, I'm currently developing an analog clock with several configuration screens.
Widgets should only be shown while the clock is running - and hidden while any configuration screen is active. I already figured out how to (temporarily) let
Bangle.appRect
cover the whole screen, and (during configuration) I also do not actively draw any widgets.However, from time to time, some widgets still appear on the screen - presumably because that widget wants to inform about some changes (e.g., the battery widget).
How do I temporarily prevent widgets from being shown?