Remove sandbox by making application more generic 🎉

This commit is contained in:
Héctor Ramón Jiménez 2024-03-16 19:14:13 +01:00
parent 0a24611ccd
commit 28a27f08ed
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
23 changed files with 80 additions and 111 deletions

View file

@ -9,9 +9,13 @@ use iced::window;
use iced::{Alignment, Color, Element, Length, Subscription};
fn main() -> iced::Result {
iced::sandbox("Custom Shader - Iced", IcedCubes::update, IcedCubes::view)
.subscription(IcedCubes::subscription)
.run()
iced::application(
"Custom Shader - Iced",
IcedCubes::update,
IcedCubes::view,
)
.subscription(IcedCubes::subscription)
.run()
}
struct IcedCubes {