Move Program to application module
This commit is contained in:
parent
7e1ef7d150
commit
54f44754eb
29 changed files with 58 additions and 80 deletions
|
|
@ -8,7 +8,7 @@ use iced::{Alignment, Color, Element, Length, Radians, Theme};
|
|||
pub fn main() -> iced::Result {
|
||||
tracing_subscriber::fmt::init();
|
||||
|
||||
iced::application("Gradient - Iced", Gradient::update, Gradient::view)
|
||||
iced::program("Gradient - Iced", Gradient::update, Gradient::view)
|
||||
.style(Gradient::style)
|
||||
.transparent(true)
|
||||
.run()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue