Merge pull request #3825 from thyttan/widmsggrid
widmsggrid: reset graphics state after setClipRectmaster
commit
a6e622c40f
|
|
@ -4,3 +4,4 @@
|
||||||
0.04: Remove library stub
|
0.04: Remove library stub
|
||||||
0.05: Don't turn on LCD
|
0.05: Don't turn on LCD
|
||||||
0.06: Don't draw outside of widget field
|
0.06: Don't draw outside of widget field
|
||||||
|
0.07: Don't leave clipRect modified, as per [this comment](https://github.com/espruino/BangleApps/pull/3813#issuecomment-2826952155).
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "widmsggrid",
|
"id": "widmsggrid",
|
||||||
"name": "Messages Grid Widget",
|
"name": "Messages Grid Widget",
|
||||||
"version": "0.06",
|
"version": "0.07",
|
||||||
"description": "Widget that displays notification icons in a grid",
|
"description": "Widget that displays notification icons in a grid",
|
||||||
"icon": "widget.png",
|
"icon": "widget.png",
|
||||||
"type": "widget",
|
"type": "widget",
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,7 @@
|
||||||
r++;
|
r++;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
g.reset(); // Make sure we don't leave clipRect set to some smaller rectangle.
|
||||||
if (w.total > 1) {
|
if (w.total > 1) {
|
||||||
// show total number of messages in bottom-right corner
|
// show total number of messages in bottom-right corner
|
||||||
g.reset();
|
g.reset();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue