Herringway / earthbound

attempt at decompiling+porting earthbound
29 stars 7 forks source link

Display is cut off in debug mode #135

Open Anonymous941 opened 1 year ago

Anonymous941 commented 1 year ago

When using debug mode, the top of the screen is cut off by default. In order to see the top, you have to change the aspect ratio to create a border, and it is then centered incorrectly.

Default window

Resized window

charasyn commented 1 year ago

Verified on my machine. My Windows scaling settings are set to 125%. The debugMenuHeight ends up getting set to 25px, but when measuring with a screenshot, it looks like the menu is actually 32px tall. I think this accounts for the cutoff.

I'm not sure what the correct fix is here - do we need to find the display scale settings and compensate somehow??

charasyn commented 1 year ago

Refer to this image. image

Herringway commented 1 year ago

It's definitely related to DPI scaling. my system is at 150%. this is a very low priority issue for me, though. it's a cosmetic issue with a workaround exclusive to a debugging mode...

Anonymous941 commented 1 year ago

That's strange, I'm using KDE and my scaling is set to 100%, it also worked on older versions but this issue came up with newer ones