Implement window::frames subscription
... and use it in the `solar_system` example 🎉
This commit is contained in:
parent
c649ec8cf7
commit
0b86c4a299
4 changed files with 43 additions and 4 deletions
|
|
@ -2,7 +2,7 @@
|
|||
use crate::command::{self, Command};
|
||||
use iced_native::window;
|
||||
|
||||
pub use window::{Event, Mode, UserAttention};
|
||||
pub use window::{frames, Event, Mode, UserAttention};
|
||||
|
||||
/// Closes the current window and exits the application.
|
||||
pub fn close<Message>() -> Command<Message> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue