Performance improvements

This commit is contained in:
Jeremy Soller 2022-10-21 12:31:02 -06:00
parent d5fde04d09
commit 50dfd4e6ed
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE
4 changed files with 15 additions and 45 deletions

View file

@ -152,6 +152,8 @@ where
);
}
buffer.shape_until_cursor();
let buffer_x = layout.bounds().x;
let buffer_y = layout.bounds().y;
buffer.draw(text_color_u32, |x, y, w, h, color| {