1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Split gui_scaling to gui_scaling + hud_scaling as those elements need different handling on some devices

This commit is contained in:
sapier 2015-01-07 00:10:46 +01:00
parent d576235409
commit e201620ee1
3 changed files with 10 additions and 9 deletions

View file

@ -156,7 +156,7 @@ void TouchScreenGUI::initButton(touch_gui_button_id id, rect<s32> button_rect,
}
static int getMaxControlPadSize(float density) {
return 200 * density * g_settings->getFloat("gui_scaling");
return 200 * density * g_settings->getFloat("hud_scaling");
}
void TouchScreenGUI::init(ISimpleTextureSource* tsrc, float density)