Commit 4ceb095d authored by Simon Goller's avatar Simon Goller
Browse files

Canvas transform reset when ingame state drops

parent cd16b88f
...@@ -51,6 +51,10 @@ impl state::State for InGameState { ...@@ -51,6 +51,10 @@ impl state::State for InGameState {
} }
fn deinit(&mut self) { fn deinit(&mut self) {
self.resources.get::<resources::Rendering>()
.unwrap()
.set_transform(
1.0, 0.0, 0.0, 1.0, 0.0, 0.0);
self.gui_svg self.gui_svg
.style() .style()
.set_property("display", "none") .set_property("display", "none")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment