From e201620ee1051545ed7856fb18f805c67adccc85 Mon Sep 17 00:00:00 2001 From: sapier Date: Wed, 7 Jan 2015 00:10:46 +0100 Subject: Split gui_scaling to gui_scaling + hud_scaling as those elements need different handling on some devices --- src/touchscreengui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/touchscreengui.cpp') 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 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) -- cgit v1.2.3