mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Split gui_scaling to gui_scaling + hud_scaling as those elements need different handling on some devices
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user