Fixed textbox color not updating cache, and taking snapshot images for cache instead of storing surfaces

This commit is contained in:
Yousef Khadadeh 2025-07-31 15:30:22 +03:00
parent ed3d5f6d51
commit f72d8c21fa
7 changed files with 27 additions and 19 deletions

View file

@ -105,7 +105,6 @@ void DrawTextBox::set_textbox_string(const std::string& str) {
void DrawTextBox::update_contained_string(DrawingProgram& drawP) {
d.currentText = textBox.get_string();
commit_update(drawP);
}
Vector2f DrawTextBox::get_mouse_pos(DrawingProgram& drawP) {