mirror of
https://github.com/youwen5/iamb.git
synced 2025-06-20 05:39:52 -07:00
Update to latest modalkit
, modalkit-ratatui
and ratatui-image
(#422)
This commit is contained in:
parent
5f927ce9c3
commit
af96bfbb41
5 changed files with 99 additions and 53 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue