Skip to content

Commit

Permalink
Android: Resize jump and sneak buttons' touch target (#7498)
Browse files Browse the repository at this point in the history
  • Loading branch information
srifqi authored and paramat committed Jun 30, 2018
1 parent eef62c8 commit ad3d1d2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/touchscreengui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file modified textures/base/pack/down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified textures/base/pack/jump_btn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ad3d1d2

Please sign in to comment.