Make sandbox helper take a title as well
This commit is contained in:
parent
3f81c524cc
commit
bb71e8481e
21 changed files with 64 additions and 58 deletions
|
|
@ -9,9 +9,8 @@ use iced::window;
|
|||
use iced::{Alignment, Color, Element, Length, Subscription};
|
||||
|
||||
fn main() -> iced::Result {
|
||||
iced::sandbox(IcedCubes::update, IcedCubes::view)
|
||||
iced::sandbox("Custom Shader - Iced", IcedCubes::update, IcedCubes::view)
|
||||
.subscription(IcedCubes::subscription)
|
||||
.title("Custom Shader - Iced")
|
||||
.run()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue