diff options
author | 2025-02-09 08:02:05 +0100 | |
---|---|---|
committer | 2025-02-09 08:02:05 +0100 | |
commit | ec4d007a4cafa005a61aa24a47960e5d639b5587 (patch) | |
tree | 65a88036bbf85c803615caa36f3123423483bfe5 /examples/gallery/src/civitai.rs | |
parent | 17395e83201d1e5e00be46c1fb1d6fa18f3d87f1 (diff) | |
download | iced-ec4d007a4cafa005a61aa24a47960e5d639b5587.tar.gz iced-ec4d007a4cafa005a61aa24a47960e5d639b5587.tar.bz2 iced-ec4d007a4cafa005a61aa24a47960e5d639b5587.zip |
Simplify `gallery` example a bit
Diffstat (limited to 'examples/gallery/src/civitai.rs')
-rw-r--r-- | examples/gallery/src/civitai.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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() } |