added aesthetic lines
parent
a0e239b353
commit
54ee37b95f
|
|
@ -82,9 +82,12 @@
|
|||
// Update initScrollIndicator to use the new function
|
||||
function initScrollIndicator() {
|
||||
overlay.setBgColor(g.theme.bg).clear();
|
||||
const r = 10; // corner radius
|
||||
const points = createRoundedRectPoints(0, 0, overlayWidth, overlayHeight, r);
|
||||
const points = createRoundedRectPoints(0, 0, overlayWidth, overlayHeight, 10);
|
||||
overlay.setColor(g.theme.fg2).fillPoly(points);
|
||||
// Add horizontal lines for scroll thumb aesthetic
|
||||
overlay.setColor(g.theme.bg2);
|
||||
overlay.fillRect(8, overlayHeight / 3 - 1, overlayWidth - 8, overlayHeight / 3 + 1);
|
||||
overlay.fillRect(8, overlayHeight * 2 / 3 - 1, overlayWidth - 8, overlayHeight * 2 / 3 + 1);
|
||||
}
|
||||
|
||||
// Function to update scroll indicator
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "cutelauncher",
|
||||
"name": "Cute Launcher",
|
||||
"version": "0.15",
|
||||
"version": "0.16",
|
||||
"description": "A simple launcher app for Bangle.js 2 that makes use of the full touchscreen",
|
||||
"icon": "app.png",
|
||||
"type": "launch",
|
||||
|
|
|
|||
Loading…
Reference in New Issue