Hi - I'm afraid widgets don't work in double-buffered mode, because they're only expecting a single buffer.
You can hack around it using:
But every time a widget changes after that, you'll get flickering.
You can use a memory-based buffer with Graphics.createArrayBuffer though, and copy that to the screen when you're done (there are a few examples in BangleApps). The widget bar will then work fine, plus it'll be right at the top of the screen
© Espruino, powered by microcosm.
Report a problem