Simplify the Render(screen, document) function.

This commit is contained in:
ArthurSonzogni
2020-05-20 21:23:59 +02:00
parent 957387adaa
commit e34f051f7a
27 changed files with 55 additions and 50 deletions

View File

@@ -321,7 +321,7 @@ void ScreenInteractive::Draw(Component* component) {
cursor_.y = dimy_ - 1;
}
Render(*this, document.get());
Render(*this, document);
// Set cursor position for user using tools to insert CJK characters.
set_cursor_position = "";