0.24: Fix Launcher when a custom font from 2v26+ is specified (fix #3787)
parent
8b190a1cb6
commit
1c85059df1
|
|
@ -23,3 +23,4 @@
|
||||||
0.21: Make the "App source not found" warning less buggy
|
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.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.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)
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
font = "Vector"+(vectorval).toString();
|
font = "Vector"+(vectorval).toString();
|
||||||
} else{
|
} else{
|
||||||
font = settings.font;
|
font = settings.font;
|
||||||
scaleval = (font.split("x")[1])/20;
|
scaleval = g.setFont(font).stringMetrics("X").height / 20;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let height = 50*scaleval;
|
let height = 50*scaleval;
|
||||||
|
|
@ -100,4 +100,4 @@
|
||||||
|
|
||||||
if (!settings.fullscreen) // finally draw widgets
|
if (!settings.fullscreen) // finally draw widgets
|
||||||
Bangle.drawWidgets();
|
Bangle.drawWidgets();
|
||||||
}
|
}
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "launch",
|
"id": "launch",
|
||||||
"name": "Launcher",
|
"name": "Launcher",
|
||||||
"shortName": "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.",
|
"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",
|
"readme": "README.md",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue