Einige Styling änderungen
This commit is contained in:
@@ -9,7 +9,7 @@ class Playground{
|
||||
this.game = game;
|
||||
this.uiManager = uiManager;
|
||||
|
||||
this.tileSize = Math.floor(window.innerHeight / playgroundSize.height);
|
||||
this.tileSize = Math.floor((window.innerHeight - 10) / playgroundSize.height);
|
||||
|
||||
// Canvas erstellen
|
||||
this.canvas = document.createElement("canvas");
|
||||
|
||||
@@ -36,18 +36,3 @@ img{
|
||||
align-items: center;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
|
||||
.backgroundTile,
|
||||
.overlayTile {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.backgroundTile {
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.overlayTile {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user