Add image format options to reduce code bloat, fixes #376
This commit is contained in:
parent
9f5c2eb0c4
commit
8f126c212b
8 changed files with 39 additions and 25 deletions
|
|
@ -208,7 +208,7 @@ impl backend::Text for Backend {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "image")]
|
||||
#[cfg(feature = "image_rs")]
|
||||
impl backend::Image for Backend {
|
||||
fn dimensions(&self, _handle: &iced_native::image::Handle) -> (u32, u32) {
|
||||
(50, 50)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue