g.clear();
Bangle.loadWidgets();
Bangle.drawWidgets();
g.reset(); // <--- here
g.drawString("hello world",64,64);
Widgets (or anything) may change text/colors/etc, so it's good practice to call .reset() in a function before you render to put everything back into a known state.
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 @NebbishHacker says:
Widgets (or anything) may change text/colors/etc, so it's good practice to call
.reset()
in a function before you render to put everything back into a known state.