diff options
author | sapier <Sapier at GMX dot net> | 2015-01-07 00:10:46 +0100 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2015-01-09 14:31:33 +0100 |
commit | e201620ee1051545ed7856fb18f805c67adccc85 (patch) | |
tree | ec42ff5a05e75a8c48de59cb17c92950442d1495 /src/touchscreengui.cpp | |
parent | d576235409c1c21c25167ccd611fc847e9d23cb8 (diff) | |
download | minetest-e201620ee1051545ed7856fb18f805c67adccc85.tar.gz minetest-e201620ee1051545ed7856fb18f805c67adccc85.tar.bz2 minetest-e201620ee1051545ed7856fb18f805c67adccc85.zip |
Split gui_scaling to gui_scaling + hud_scaling as those elements need different handling on some devices
Diffstat (limited to 'src/touchscreengui.cpp')
-rw-r--r-- | src/touchscreengui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/touchscreengui.cpp b/src/touchscreengui.cpp index 065c7a392..a2c981cff 100644 --- a/src/touchscreengui.cpp +++ b/src/touchscreengui.cpp @@ -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) |