Skip to content

Commit ad3d1d2

Browse files
srifqiparamat
authored andcommittedJun 30, 2018
Android: Resize jump and sneak buttons' touch target (#7498)
1 parent eef62c8 commit ad3d1d2

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
 

‎src/gui/touchscreengui.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -541,15 +541,15 @@ void TouchScreenGUI::init(ISimpleTextureSource *tsrc)
541541
rect<s32>(m_screensize.X - (1.75 * button_size),
542542
m_screensize.Y - button_size,
543543
m_screensize.X - (0.25 * button_size),
544-
m_screensize.Y - (0.5 * button_size)),
544+
m_screensize.Y),
545545
L"x", false);
546546

547547
// init crunch button
548548
initButton(crunch_id,
549549
rect<s32>(m_screensize.X - (3.25 * button_size),
550550
m_screensize.Y - button_size,
551551
m_screensize.X - (1.75 * button_size),
552-
m_screensize.Y - (0.5 * button_size)),
552+
m_screensize.Y),
553553
L"H", false);
554554

555555
// init zoom button

‎textures/base/pack/down.png

226 Bytes
Loading

‎textures/base/pack/jump_btn.png

677 Bytes
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.