Allow pure widgets to borrow from Application data 🎉
This commit is contained in:
parent
43a7ad72ef
commit
01c5004959
11 changed files with 103 additions and 98 deletions
|
|
@ -20,7 +20,8 @@
|
|||
pub use iced_pure::{Element as _, *};
|
||||
|
||||
/// A generic, pure [`Widget`].
|
||||
pub type Element<Message> = iced_pure::Element<Message, crate::Renderer>;
|
||||
pub type Element<'a, Message> =
|
||||
iced_pure::Element<'a, Message, crate::Renderer>;
|
||||
|
||||
mod application;
|
||||
mod sandbox;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue