diff options
author | 2023-01-12 04:35:41 +0100 | |
---|---|---|
committer | 2023-01-12 04:35:41 +0100 | |
commit | 0b86c4a299d384cafca31206eac8c94f1123518d (patch) | |
tree | 6101ee28b8f030963bcc0f0cc7c51e67076fcf72 /winit/src/window.rs | |
parent | c649ec8cf7066eb190193ff499c0ecccbca76796 (diff) | |
download | iced-0b86c4a299d384cafca31206eac8c94f1123518d.tar.gz iced-0b86c4a299d384cafca31206eac8c94f1123518d.tar.bz2 iced-0b86c4a299d384cafca31206eac8c94f1123518d.zip |
Implement `window::frames` subscription
... and use it in the `solar_system` example :tada:
Diffstat (limited to 'winit/src/window.rs')
-rw-r--r-- | winit/src/window.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winit/src/window.rs b/winit/src/window.rs index 89db3262..0b9e4c46 100644 --- a/winit/src/window.rs +++ b/winit/src/window.rs @@ -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> { |