Introduce first-class image module in iced_native
This commit is contained in:
parent
b3a01973c6
commit
c4186a71b7
12 changed files with 139 additions and 143 deletions
|
|
@ -237,10 +237,7 @@ impl backend::Text for Backend {
|
|||
|
||||
#[cfg(feature = "image")]
|
||||
impl backend::Image for Backend {
|
||||
fn dimensions(
|
||||
&self,
|
||||
_handle: &iced_native::widget::image::Handle,
|
||||
) -> (u32, u32) {
|
||||
fn dimensions(&self, _handle: &iced_native::image::Handle) -> (u32, u32) {
|
||||
(50, 50)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue