gbmusic: Fix scrolling title background color
parent
a45f7506ff
commit
4ce0e39263
|
|
@ -3795,7 +3795,7 @@
|
||||||
"id": "gbmusic",
|
"id": "gbmusic",
|
||||||
"name": "Gadgetbridge Music Controls",
|
"name": "Gadgetbridge Music Controls",
|
||||||
"shortName": "Music Controls",
|
"shortName": "Music Controls",
|
||||||
"version": "0.07",
|
"version": "0.08",
|
||||||
"description": "Control the music on your Gadgetbridge-connected phone",
|
"description": "Control the music on your Gadgetbridge-connected phone",
|
||||||
"icon": "icon.png",
|
"icon": "icon.png",
|
||||||
"screenshots": [{"url":"screenshot_v1.png"},{"url":"screenshot_v2.png"}],
|
"screenshots": [{"url":"screenshot_v1.png"},{"url":"screenshot_v2.png"}],
|
||||||
|
|
|
||||||
|
|
@ -5,3 +5,4 @@
|
||||||
0.05: Setting to disable double/triple press control, remove touch controls setting, reduce fadeout flicker
|
0.05: Setting to disable double/triple press control, remove touch controls setting, reduce fadeout flicker
|
||||||
0.06: Bangle.js 2 support
|
0.06: Bangle.js 2 support
|
||||||
0.07: Fix "previous" button image
|
0.07: Fix "previous" button image
|
||||||
|
0.08: Fix scrolling title background color
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ function rScroller(l) {
|
||||||
y = l.y+l.h/2;
|
y = l.y+l.h/2;
|
||||||
l.offset = l.offset%w;
|
l.offset = l.offset%w;
|
||||||
g.setClipRect(l.x, l.y, l.x+l.w-1, l.y+l.h-1)
|
g.setClipRect(l.x, l.y, l.x+l.w-1, l.y+l.h-1)
|
||||||
.setColor(l.col)
|
.setColor(l.col).setBgColor(l.bgCol) // need to set colors: iScroll calls this function outside Layout
|
||||||
.setFontAlign(-1, 0) // left center
|
.setFontAlign(-1, 0) // left center
|
||||||
.clearRect(l.x, l.y, l.x+l.w-1, l.y+l.h-1)
|
.clearRect(l.x, l.y, l.x+l.w-1, l.y+l.h-1)
|
||||||
.drawString(l.label, l.x-l.offset+40, y)
|
.drawString(l.label, l.x-l.offset+40, y)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue