Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Engel Simulator 2020
Engel Simulator 2020
Commits
4ceb095d
Commit
4ceb095d
authored
Dec 18, 2020
by
Simon Goller
Browse files
Canvas transform reset when ingame state drops
parent
cd16b88f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/states/ingame.rs
View file @
4ceb095d
...
...
@@ -51,6 +51,10 @@ impl state::State for InGameState {
}
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
.style
()
.set_property
(
"display"
,
"none"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment