Closed
Description
Bevy version
rev = "d158e0893ea88b6acf523a4264f076d6e0b540c6"
Operating system & version
Linux Mint 20.1 Ulyssa
What you did
I tried to change the window title:
fn update_title(score: Res<Score>, mut window: ResMut<WindowDescriptor>) {
window.title = format!("Snake: {}", score.0);
}
What you expected to happen
I expected the title to change.
What actually happened
The title stayed the same.
Additional information
I am using a WindowDescriptor to set the title at startup.
Window::set_title
works, but is more verbose.