Add quad menu, ignore more messages

This commit is contained in:
Tanner Collin 2024-09-07 11:49:51 -06:00
parent d5158eee54
commit eccca550ef
2 changed files with 21 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@ -195,7 +195,7 @@ function showMessageScroller(msg) {
var bodyFont = fontLarge;
g.setFont(bodyFont);
var lines = [];
if (msg.title) lines = g.wrapString(msg.title, g.getWidth()-10)
if (msg.title) lines = g.wrapString(msg.title, g.getWidth()-10);
lines = [lines[0]];
var titleCnt = lines.length;
//if (titleCnt) lines.push(""); // add blank line after title
@ -369,7 +369,11 @@ function checkMessages(options) {
var goBack = false;
while (MESSAGES.length && (
MESSAGES[0].title == "Timer" ||
MESSAGES[0].title == "Clock" ||
MESSAGES[0].title == "Stopwatch" ||
MESSAGES[0].title == "Navigation" ||
MESSAGES[0].title.startsWith("Protostable Chatspace") ||
MESSAGES[0].title.includes("Jason") ||
MESSAGES[0].body.toLowerCase().startsWith("!chat") ||
MESSAGES[0].body.toLowerCase().startsWith("! chat")
)) {