cursor writing now works

This commit is contained in:
2026-01-30 12:20:39 +01:00
parent fbf3e39157
commit 0903121e61
2 changed files with 27 additions and 8 deletions
+2 -8
View File
@@ -144,18 +144,12 @@ void loop()
{
pixels.clear();
handle_server();
if (text_nodes[0].is_deleted)
if (text_nodes[0].is_deleted && text_nodes[2].is_deleted)
{
cursor.x = PANEL_MAX_X + 1;
addNewTextNode("color", 0xFF121212, true);
}
else if (text_nodes[1].is_deleted)
{
addNewTextNode("ful ", 0xFF000036, true);
}
else if (text_nodes[2].is_deleted)
{
{addNewTextNode("test", 0xFF121212, true);
addNewTextNode("test", 0xFF121212, true);
}
scrollAllScrollableTexts();
pixels.show();