mirror of
https://github.com/youwen5/iamb.git
synced 2025-06-20 05:39:52 -07:00
Update to ratatui-image@1.0.0 (#241)
This commit is contained in:
parent
a98bbd97be
commit
72d35431de
3 changed files with 4 additions and 4 deletions
|
@ -100,7 +100,7 @@ pub fn spawn_insert_preview(
|
|||
})
|
||||
.and_then(|(picker, msg, image_preview)| {
|
||||
picker
|
||||
.new_protocol(img, image_preview.size.into(), Resize::Fit)
|
||||
.new_protocol(img, image_preview.size.into(), Resize::Fit(None))
|
||||
.map_err(|err| IambError::Preview(format!("{err:?}")))
|
||||
.map(|backend| (backend, msg))
|
||||
}) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue