I noticed that it will still redraw them even if a widget shows an E.showMessage above it.
Which widget is this? Widgets really shouldn't do that because it will definitely break things - all the default ones load up a new app to avoid that kind of problem. There's also the notify library that basically does that for you.
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.
Which widget is this? Widgets really shouldn't do that because it will definitely break things - all the default ones load up a new app to avoid that kind of problem. There's also the
notify
library that basically does that for you.But if you added a
remove
handler to setUI like this: http://www.espruino.com/Bangle.js+Fast+LoadThen that would solve the problem, because showMessage would call the remove handler. But then after the message was gone you'd be left with nothing.
... and if the widget was running for pretty much any other app, that would break too - so I wouldn't recommend it