From ec4d007a4cafa005a61aa24a47960e5d639b5587 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 9 Feb 2025 08:02:05 +0100 Subject: Simplify `gallery` example a bit --- examples/gallery/src/civitai.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/gallery/src/civitai.rs') diff --git a/examples/gallery/src/civitai.rs b/examples/gallery/src/civitai.rs index 8e57db3d..18d2a040 100644 --- a/examples/gallery/src/civitai.rs +++ b/examples/gallery/src/civitai.rs @@ -69,7 +69,7 @@ impl Image { .split("/") .map(|part| { if part.starts_with("width=") { - format!("width={width}") + format!("width={}", width * 2) // High DPI } else { part.to_owned() } -- cgit