-
Notifications
You must be signed in to change notification settings - Fork 0
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
Switch-Like Banners - DPI issues #8
Comments
I'm aware it doesn't really work for other scaling. I'm not really sure what the best way would be to fix this if it's even fixable. Sorry! It might be using item sizes in a certain way back-end that I cannot account for. |
There is another DPI issue. The Library items are not squared when using DPI scaling, but this can be fixed by using different item sizes. In this case, the scaling works right, but you have to change the values depending on the scaling settings. Maybe in this case it is worth using "math" calculated values? |
I'm really not sure. I personally don't use this theme myself and made it for others to work on Steam Deck and didn't really focus on making it work on other resolutions as it was already a pain to make it work for the Deck. If you find a solution, I'd be happy to accept pull requests. |
@MSeys
that code fixes "running game" squared item space in steam overlay |
In "Big Picture" mode in the "recent games" section, the highlighted item is off-screen when using a screen scaling other than Steam Deck scaling while using "Featured as Square" option.
First items looks normally until scrolling happens:
PC auto and normal scaling:
Steam Deck-style scaling
I have poor knowledge of css, but I tried to figure it out and it seems that the problem is solved by using "recent games" item sizes as viewport values (vw and vh) instead of pixels (px), but this particular solution is not correct because in this case screen scaling option works everywhere except for items of the "Recent Games" section and that's wrong.
Additionally, the native behavior of Steam is that when you change the screen scaling, the highlighted item does not move off the screen, but remains in the middle, regardless of the size of the items.
The text was updated successfully, but these errors were encountered: