Fix image feature name in glow and iced
This commit is contained in:
parent
8f126c212b
commit
e1b1227f0c
2 changed files with 2 additions and 2 deletions
|
|
@ -208,7 +208,7 @@ impl backend::Text for Backend {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "image_rs")]
|
||||
#[cfg(feature = "image")]
|
||||
impl backend::Image for Backend {
|
||||
fn dimensions(&self, _handle: &iced_native::image::Handle) -> (u32, u32) {
|
||||
(50, 50)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ mod platform {
|
|||
)]
|
||||
pub use crate::renderer::widget::qr_code;
|
||||
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "image_rs")))]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "image")))]
|
||||
pub mod image {
|
||||
//! Display images in your user interface.
|
||||
pub use crate::runtime::image::viewer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue