diff --git a/apps.json b/apps.json index 7a0fde795..36e2cf94e 100644 --- a/apps.json +++ b/apps.json @@ -94,7 +94,7 @@ "name": "Notifications (default)", "shortName":"Notifications", "icon": "notify.png", - "version":"0.10", + "version":"0.11", "description": "A handler for displaying notifications that displays them in a bar at the top of the screen", "tags": "widget", "type": "notify", diff --git a/apps/notify/ChangeLog b/apps/notify/ChangeLog index d1826f57e..8803b82b6 100644 --- a/apps/notify/ChangeLog +++ b/apps/notify/ChangeLog @@ -7,3 +7,4 @@ 0.08: Don't turn on screen during Quiet Mode 0.09: Add onHide callback 0.10: Improvements to help notifications work with themes +0.11: Fix regression that caused no notifications and corrupted background diff --git a/apps/notify/notify.js b/apps/notify/notify.js index 4448de73b..332c301d5 100644 --- a/apps/notify/notify.js +++ b/apps/notify/notify.js @@ -94,9 +94,8 @@ exports.show = function(options) { y = 320-size, h = size, b = y+h-1, r = x+w-1; // bottom,right - g.setClipRect(x,y, r,b); // clear area - g.reset(); + g.reset().setClipRect(x,y, r,b); if (options.bgColor!==undefined) g.setColor(options.bgColor); g.clearRect(x,y, r,b); // bottom border