diff options
author | Muhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com> | 2018-07-01 04:33:14 +0700 |
---|---|---|
committer | Paramat <paramat@users.noreply.github.com> | 2018-06-30 22:33:14 +0100 |
commit | ad3d1d20d10ac193d6ef9d7967571d443c11b9af (patch) | |
tree | 12831082015ba525298373b5ffe81d1ef34a2da5 /src/gui | |
parent | eef62c82a2e58700fc1216b0b8c03e421bc77995 (diff) | |
download | minetest-ad3d1d20d10ac193d6ef9d7967571d443c11b9af.tar.gz minetest-ad3d1d20d10ac193d6ef9d7967571d443c11b9af.tar.bz2 minetest-ad3d1d20d10ac193d6ef9d7967571d443c11b9af.zip |
Android: Resize jump and sneak buttons' touch target (#7498)
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/touchscreengui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/touchscreengui.cpp b/src/gui/touchscreengui.cpp index dfd06c21b..13a6a0799 100644 --- a/src/gui/touchscreengui.cpp +++ b/src/gui/touchscreengui.cpp @@ -541,7 +541,7 @@ void TouchScreenGUI::init(ISimpleTextureSource *tsrc) rect<s32>(m_screensize.X - (1.75 * button_size), m_screensize.Y - button_size, m_screensize.X - (0.25 * button_size), - m_screensize.Y - (0.5 * button_size)), + m_screensize.Y), L"x", false); // init crunch button @@ -549,7 +549,7 @@ void TouchScreenGUI::init(ISimpleTextureSource *tsrc) rect<s32>(m_screensize.X - (3.25 * button_size), m_screensize.Y - button_size, m_screensize.X - (1.75 * button_size), - m_screensize.Y - (0.5 * button_size)), + m_screensize.Y), L"H", false); // init zoom button |