@gerardwr can you come up with some code that causes the getModified(true) issue in the emulator and post it here? https://www.espruino.com/ide/emulator.html
getModified(true)
Seems to work great for me:
>g.getModified(true) ={ x1: 0, y1: 0, x2: 239, y2: 239 } >g.getModified(true) =undefined >g.drawString("Hello") =Graphics: { flip: function () { [native code] } } >g.getModified(true) ={ x1: 0, y1: 0, x2: 28, y2: 6 } >g.getModified(true) =undefined >g.clear() =Graphics: { flip: function () { [native code] } } >g.getModified(true) ={ x1: 0, y1: 0, x2: 239, y2: 239 } >g.getModified(true) =undefined
@Gordon started
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.
@gerardwr can you come up with some code that causes the
getModified(true)
issue in the emulator and post it here? https://www.espruino.com/ide/emulator.htmlSeems to work great for me: