Use Program API in game_of_life example
This commit is contained in:
parent
2eb3333623
commit
c4be7efce5
2 changed files with 22 additions and 36 deletions
|
|
@ -152,7 +152,7 @@ impl Todos {
|
|||
Message::ToggleFullscreen(mode) => {
|
||||
window::change_mode(window::Id::MAIN, mode)
|
||||
}
|
||||
_ => Command::none(),
|
||||
Message::Loaded(_) => Command::none(),
|
||||
};
|
||||
|
||||
if !saved {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue