0.24: Fix Launcher when a custom font from 2v26+ is specified (fix #3787)

master
Gordon Williams 2025-03-31 16:53:16 +01:00
parent 8b190a1cb6
commit 1c85059df1
3 changed files with 5 additions and 4 deletions

View File

@ -23,3 +23,4 @@
0.21: Make the "App source not found" warning less buggy
0.22: Add less padding between launcher items, use new font if available in 2v26+
0.23: Draw a placeholder screen right at the start to speed up apparent boot time
0.24: Fix Launcher when a custom font from 2v26+ is specified (fix #3787)

View File

@ -16,7 +16,7 @@
font = "Vector"+(vectorval).toString();
} else{
font = settings.font;
scaleval = (font.split("x")[1])/20;
scaleval = g.setFont(font).stringMetrics("X").height / 20;
}
}
let height = 50*scaleval;
@ -100,4 +100,4 @@
if (!settings.fullscreen) // finally draw widgets
Bangle.drawWidgets();
}
}

View File

@ -2,7 +2,7 @@
"id": "launch",
"name": "Launcher",
"shortName": "Launcher",
"version": "0.23",
"version": "0.24",
"description": "This is needed to display a menu allowing you to choose your own applications. You can replace this with a customised launcher.",
"readme": "README.md",
"icon": "app.png",