Skip to content
Permalink
Browse files

Android: Resize jump and sneak buttons' touch target (#7498)

  • Loading branch information...
srifqi authored and paramat committed Jun 30, 2018
1 parent eef62c8 commit ad3d1d20d10ac193d6ef9d7967571d443c11b9af
@@ -541,15 +541,15 @@ 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
initButton(crunch_id,
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
BIN +226 Bytes (120%) textures/base/pack/down.png
Binary file not shown.
BIN +677 Bytes (270%) textures/base/pack/jump_btn.png
Binary file not shown.

0 comments on commit ad3d1d2

Please sign in to comment.
You can’t perform that action at this time.