WIP
This commit is contained in:
+3
-1
@@ -34,7 +34,9 @@ function mapSceneEntities(sceneData: SceneData): string[] {
|
||||
}
|
||||
|
||||
function adjustGameContainer(gameContainer: HTMLElement, width: number): void {
|
||||
gameContainer.style = `position: relative; top: 0; left: ${width}px; width: ${document.body.offsetWidth - width}px;`;
|
||||
gameContainer.style = `position: relative; top: 0; left: ${width}px; width: ${
|
||||
document.body.offsetWidth - width
|
||||
}px;`;
|
||||
}
|
||||
|
||||
const scenesRaw = await fetchScenes();
|
||||
|
||||
Reference in New Issue
Block a user