Code cleanup, clearer comments + removed some unnecessary dupe;

Removed `Frames` struct return for `window::frames()` since we are just redrawing every window anyways;
Interface dropping;
This commit is contained in:
Bingus 2023-03-13 14:16:45 -07:00
parent fa068b904a
commit 8ba1843080
No known key found for this signature in database
GPG key ID: 5F84D2AA40A9F170
11 changed files with 59 additions and 103 deletions

View file

@ -89,7 +89,7 @@ impl Application for SolarSystem {
}
fn subscription(&self) -> Subscription<Message> {
window::frames().map(|frame| Message::Tick(frame.at))
window::frames().map(Message::Tick)
}
}