mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 15:19:35 +01:00
Legger til manglende oppdatering av kameraet når brettvisningsskjermen blir laget
This commit is contained in:
parent
5cd2787a1e
commit
8757932cab
@ -56,6 +56,7 @@ public class BoardActiveScreen extends InteractiveScreen {
|
|||||||
viewport = new ExtendViewport(viewPortWidth, viewPortHeight, camera);
|
viewport = new ExtendViewport(viewPortWidth, viewPortHeight, camera);
|
||||||
|
|
||||||
lastTouch = new Vector2();
|
lastTouch = new Vector2();
|
||||||
|
resetCamera();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user