diff options
author | 2025-02-09 06:38:48 +0100 | |
---|---|---|
committer | 2025-02-09 06:38:48 +0100 | |
commit | f3ae4266e9727940ba0d0e8469362923590916f4 (patch) | |
tree | 2a6871b981c083fe01b90511b58f510da7ed9ce2 /examples/gallery/src/civitai.rs | |
parent | ab236376a3f8f1ac3cdd8aeb0ffeee45e3de37e3 (diff) | |
download | iced-f3ae4266e9727940ba0d0e8469362923590916f4.tar.gz iced-f3ae4266e9727940ba0d0e8469362923590916f4.tar.bz2 iced-f3ae4266e9727940ba0d0e8469362923590916f4.zip |
Implement `From<u32>` instead of `u16` for `Length` and `Pixels`
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 c394ef1d..457091e9 100644 --- a/examples/gallery/src/civitai.rs +++ b/examples/gallery/src/civitai.rs @@ -125,7 +125,7 @@ impl fmt::Debug for Rgba { #[derive(Debug, Clone, Copy)] pub enum Size { Original, - Thumbnail { width: u16 }, + Thumbnail { width: u32 }, } #[derive(Debug, Clone)] |