Thanks, and sure enough, I found a thread from a couple of months ago where the same problem was described and the g.reset() solution was advised, but isn't this actually a race condition? If a widget can call bangle.drawWidgets() itself, wouldn't I really need to call g.reset() before every single instance of g.drawString() etc., and even then, it would only maximise my chances of winning the "race"?
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.
Thanks, and sure enough, I found a thread from a couple of months ago where the same problem was described and the g.reset() solution was advised, but isn't this actually a race condition? If a widget can call bangle.drawWidgets() itself, wouldn't I really need to call g.reset() before every single instance of g.drawString() etc., and even then, it would only maximise my chances of winning the "race"?