mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-09-17 16:14:17 -04:00
Dynamic favicon style 2
https://github.com/marienfressinaud/FreshRSS/issues/539
This commit is contained in:
1 parent
eed05c06e9
commit
a7632b5429
1 file changed
+1
-1
+1
-1
@@ -1082,7 +1082,7 @@ function faviconNbUnread(n) {
|
||||
}
|
||||
ctx.font = 'bold 9px "Arial", sans-serif';
|
||||
ctx.fillStyle = 'rgba(255, 255, 255, 0.8)';
|
||||
ctx.fillRect(0, 7, 1 + ctx.measureText(text).width, 9);
|
||||
ctx.fillRect(0, 7, ctx.measureText(text).width, 9);
|
||||
ctx.fillStyle = '#F00';
|
||||
ctx.fillText(text, 0, canvas.height - 1);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user