Update to latest modalkit, modalkit-ratatui and ratatui-image (#422)

This commit is contained in:
Ulyssa
2025-05-16 18:02:43 -07:00
committed by GitHub
parent 5f927ce9c3
commit af96bfbb41
5 changed files with 99 additions and 53 deletions

View File

@@ -1402,7 +1402,7 @@ impl<'a> StatefulWidget for Scrollback<'a> {
// line.
for (x, y, backend) in image_previews {
let image_widget = Image::new(backend);
let mut rect = backend.rect();
let mut rect = backend.area();
rect.x = x;
rect.y = y;
// Don't render outside of scrollback area