One of the use cases that I see happening would be:
var dim = Bangle.getAppRect(); g.clearRect(dim.x, dim.y, dim.w, dim.h); // wrong g.clearRect(dim.x, dim.y, dim.w, dim.h + dim.y); // correct
Bangle.getWidgetHeight() is also a nice addition
@ff2005 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.
One of the use cases that I see happening would be:
Bangle.getWidgetHeight() is also a nice addition