Cleaned and improved some event stuff

This commit is contained in:
2025-05-26 13:11:27 -05:00
parent c1d8dd46d8
commit d6a2f4b567
27 changed files with 296 additions and 108 deletions

View File

@@ -70,7 +70,7 @@ func getCountOfCharactersToScrollInView() -> int:
func recalculateWrapping():
# Reset label to default.
label.text = text;
label.advancedText = text;
label.visible_characters = -1;
label.fit_content = true;
isMoreViews = false;
@@ -98,7 +98,7 @@ func recalculateWrapping():
wrappedText += "\n";
wrappedText += text[i];
label.text = wrappedText;
label.advancedText = wrappedText;
label.fit_content = false;
label.visible_characters = 0;