Dont cancel message timeout

This commit is contained in:
Tanner Collin 2024-09-10 15:42:51 -06:00
parent 6bd1f2f05b
commit 0f343e753f

View File

@ -239,7 +239,7 @@ function showMusicMessage(msg) {
} }
function showMessageScroller(msg) { function showMessageScroller(msg) {
cancelReloadTimeout(); //cancelReloadTimeout(); // commented out because this is the new message display and we want it to disappear
active = "scroller"; active = "scroller";
var bodyFont = fontLarge; var bodyFont = fontLarge;
g.setFont(bodyFont); g.setFont(bodyFont);
@ -248,7 +248,7 @@ function showMessageScroller(msg) {
lines = [lines[0]]; lines = [lines[0]];
var titleCnt = lines.length; var titleCnt = lines.length;
//if (titleCnt) lines.push(""); // add blank line after title //if (titleCnt) lines.push(""); // add blank line after title
lines = lines.concat(g.wrapString(msg.body, g.getWidth()-10)) //,["",/*LANG*/"< Back"]); lines = lines.concat(g.wrapString(msg.body, g.getWidth()-10)); //,["",/*LANG*/"< Back"]);
E.showScroller({ E.showScroller({
h : g.getFontHeight(), // height of each menu item in pixels h : g.getFontHeight(), // height of each menu item in pixels
c : lines.length, // number of menu items c : lines.length, // number of menu items