As Gordon said, don't use Bangle.isLocked() in queueDraw but in draw (btw that was also what I meant in my post with "draw using isLocked" comment, but I guess I should've spelled that more clearly).
Also having Bangle.on('lock', off => { makes no sense - just use single event.
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 Gordon said, don't use
Bangle.isLocked()
inqueueDraw
but indraw
(btw that was also what I meant in my post with "draw using isLocked" comment, but I guess I should've spelled that more clearly).Also having
Bangle.on('lock', off => {
makes no sense - just use single event.