mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
less awkward map position in portrait
This commit is contained in:
parent
134d7493ed
commit
7fc0d5b051
@ -4768,7 +4768,7 @@ EX void calcparam() {
|
||||
current_display->sidescreen = permaside;
|
||||
|
||||
if(vid.xres < vid.yres - 2 * vid.fsize && !inHighQual && !in_perspective()) {
|
||||
cd->ycenter = vid.yres - cd->scrsize - vid.fsize;
|
||||
cd->ycenter = lerp(vid.fsize + cd->scrsize, vid.yres - cd->scrsize - vid.fsize, .8);
|
||||
}
|
||||
else {
|
||||
if(vid.xres > vid.yres * 4/3+16 && (cmode & sm::SIDE))
|
||||
|
Loading…
Reference in New Issue
Block a user