WIP: Update style for mobile (#942)
* Update style for mobile - Update style for mobile modale * Fix overscroll * Change css properties overflow * Revert "Change css properties overflow" This reverts commit 612fcc7e007fb03c7f72e5fa4b8a0604a184ae7d. * rm image * Update view mobile * Fix CI
This commit is contained in:
parent
4e09246c7f
commit
9b69910cb8
12 changed files with 74 additions and 43 deletions
|
@ -284,13 +284,13 @@ export class EnableCameraScene extends Phaser.Scene {
|
|||
}
|
||||
|
||||
private getMiddleX() : number{
|
||||
return (this.game.renderer.width / 2) -
|
||||
return (this.game.renderer.width / RESOLUTION) -
|
||||
(
|
||||
this.enableCameraSceneElement
|
||||
&& this.enableCameraSceneElement.node
|
||||
&& this.enableCameraSceneElement.node.getBoundingClientRect().width > 0
|
||||
? (this.enableCameraSceneElement.node.getBoundingClientRect().width / 4)
|
||||
: (300 / 2)
|
||||
? (this.enableCameraSceneElement.node.getBoundingClientRect().width / (2*RESOLUTION))
|
||||
: (300 / RESOLUTION)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue