-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QoL] Auto center the window vertically #2686
[QoL] Auto center the window vertically #2686
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm. tested and no particular errors encountered
3272896
to
0e4c78a
Compare
0e4c78a
to
7a01282
Compare
7a01282
to
b5d9cdd
Compare
b5d9cdd
to
2bcf0de
Compare
+ When the game is played in landscape format or in portrait format when it's not a touchscreen
2bcf0de
to
88d5dee
Compare
@Dakurei Are you still actively working on this? |
The fact is, it was all over the moment I created the PR xD I was just doing the occasional rebase & force push when I came across the tab and saw conflicts, but since you've passed the option to always be in sync with Beta's HEAD, I wasn't going to spend my life rebasing 😂 |
What are the changes?
Auto center the window vertically when the game is played in landscape format or in portrait format when touch controls are not displayed
Why am I doing these changes?
It was a request, and an old PR closed in advance in favor of this one (See #1114) (cc @torranx)
What did change?
CSS modification to achieve alignment without having to tweak any config in the game code directly
Screenshots/Videos
How to test the changes?
Launch from a mobile or using an adaptive browser view
Checklist
npm run test
)