mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Base formspec coordinate size on padded screensize
This commit is contained in:
parent
d33ab97434
commit
e39b159845
1 changed files with 1 additions and 1 deletions
|
@ -3265,7 +3265,7 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize)
|
|||
((15.0 / 13.0) * (0.85 + mydata.invsize.Y));
|
||||
}
|
||||
|
||||
s32 min_screen_dim = std::min(mydata.screensize.X, mydata.screensize.Y);
|
||||
s32 min_screen_dim = std::min(padded_screensize.X, padded_screensize.Y);
|
||||
|
||||
#ifdef HAVE_TOUCHSCREENGUI
|
||||
// In Android, the preferred imgsize should be larger to accommodate the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue