BTW, I expected that g.getModified(true) would reset to "no area" like { "x1": 0, "y1": 0, "x2": 0, "y2": 0 }
but is resets to "full screen" like { "x1": 0, "y1": 0, "x2": 239, "y2": 239 }
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.
BTW, I expected that
g.getModified(true)
would reset to "no area" like{ "x1": 0, "y1": 0, "x2": 0, "y2": 0 }
but is resets to "full screen" like
{ "x1": 0, "y1": 0, "x2": 239, "y2": 239 }