mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Made hotbar a bit smaller
This commit is contained in:
parent
501034a792
commit
0b4cdfa023
1 changed files with 2 additions and 2 deletions
|
@ -1038,9 +1038,9 @@ void the_game(
|
||||||
//bool screensize_changed = screensize != last_screensize;
|
//bool screensize_changed = screensize != last_screensize;
|
||||||
|
|
||||||
// Resize hotbar
|
// Resize hotbar
|
||||||
if(screensize.Y <= 600)
|
if(screensize.Y <= 800)
|
||||||
hotbar_imagesize = 32;
|
hotbar_imagesize = 32;
|
||||||
else if(screensize.Y <= 1024)
|
else if(screensize.Y <= 1280)
|
||||||
hotbar_imagesize = 48;
|
hotbar_imagesize = 48;
|
||||||
else
|
else
|
||||||
hotbar_imagesize = 64;
|
hotbar_imagesize = 64;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue