Closed gfwilliams closed 7 months ago
Or more basic:
g.setRotation(2); // works if not set
var txt = "\0"+atob("EhKBAH//v/////////////5//x//j//H+eP+Mf/A//h//z//////////3//g");
for (var y=0;y<176;y+=24) {
g.setClipRect(0,y,175,y+23);
g.setFont("6x8:3").drawString(txt,0,y);
}
It renders in the middle, so it's that the clip rect for drawing images hasn't been rotated
As reported in https://forum.espruino.com/conversations/392047/#comment17204835
Reproducible with:
Renders fine initially but then broken when scrolling.