Implement timeout to automatically advance slide.

This commit is contained in:
2020-02-23 09:00:22 -08:00
parent 7ec3a11037
commit 01c7582ae3
2 changed files with 14 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ where
let (w, h) = match (width_hint, height_hint) {
(Some(w), Some(h)) => {
let got = decoder.scale(w as u16, h as u16)?;
info!("Hinted at {}x{}, got {}x{}", w, h, got.0, got.1);
//info!("Hinted at {}x{}, got {}x{}", w, h, got.0, got.1);
(got.0 as u32, got.1 as u32)
}
// TODO(wathiede): handle partial hints by grabbing info and then computing the absent