From: Muhammad Rifqi Priyo Susanto Date: Sat, 30 Jun 2018 21:33:14 +0000 (+0700) Subject: Android: Resize jump and sneak buttons' touch target (#7498) X-Git-Tag: 5.0.0~320 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ad3d1d20d10ac193d6ef9d7967571d443c11b9af;p=oweals%2Fminetest.git Android: Resize jump and sneak buttons' touch target (#7498) --- 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(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(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 diff --git a/textures/base/pack/down.png b/textures/base/pack/down.png index b85717a7f..2bbfffdb7 100644 Binary files a/textures/base/pack/down.png and b/textures/base/pack/down.png differ diff --git a/textures/base/pack/jump_btn.png b/textures/base/pack/jump_btn.png index 663055020..3873b50c3 100755 Binary files a/textures/base/pack/jump_btn.png and b/textures/base/pack/jump_btn.png differ