Add replay ram usage estimation

This commit is contained in:
dec05eba
2024-11-05 00:17:03 +01:00
parent 610fca510d
commit 07a64ffd95
6 changed files with 49 additions and 5 deletions

View File

@@ -89,6 +89,8 @@ namespace gsr {
if(!validate_handler || validate_handler(str)) {
text.set_string(std::move(str));
caret_offset_x = text.find_character_pos(99999).x - this->text.get_position().x;
if(on_changed)
on_changed(text.get_string());
}
}