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
|
|
@ -7,8 +7,7 @@ use iced::widget::canvas::{
|
|||
use iced::{Element, Length, Point, Rectangle, Renderer, Subscription, Theme};
|
||||
|
||||
pub fn main() -> iced::Result {
|
||||
iced::sandbox(Arc::update, Arc::view)
|
||||
.title("Arc - Iced")
|
||||
iced::sandbox("Arc - Iced", Arc::update, Arc::view)
|
||||
.subscription(Arc::subscription)
|
||||
.theme(|_| Theme::Dark)
|
||||
.antialiased()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue