Update to ratatui-image@1.0.0 (#241)

This commit is contained in:
Benjamin Grosse
2024-04-02 16:01:00 +01:00
committed by GitHub
parent a98bbd97be
commit 72d35431de
3 changed files with 4 additions and 4 deletions

View File

@@ -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))
}) {