forked from Mirrorlandia_minetest/minetest
Android: Resize jump and sneak buttons' touch target (#7498)
This commit is contained in:
parent
eef62c82a2
commit
ad3d1d20d1
@ -541,7 +541,7 @@ void TouchScreenGUI::init(ISimpleTextureSource *tsrc)
|
|||||||
rect<s32>(m_screensize.X - (1.75 * button_size),
|
rect<s32>(m_screensize.X - (1.75 * button_size),
|
||||||
m_screensize.Y - button_size,
|
m_screensize.Y - button_size,
|
||||||
m_screensize.X - (0.25 * button_size),
|
m_screensize.X - (0.25 * button_size),
|
||||||
m_screensize.Y - (0.5 * button_size)),
|
m_screensize.Y),
|
||||||
L"x", false);
|
L"x", false);
|
||||||
|
|
||||||
// init crunch button
|
// init crunch button
|
||||||
@ -549,7 +549,7 @@ void TouchScreenGUI::init(ISimpleTextureSource *tsrc)
|
|||||||
rect<s32>(m_screensize.X - (3.25 * button_size),
|
rect<s32>(m_screensize.X - (3.25 * button_size),
|
||||||
m_screensize.Y - button_size,
|
m_screensize.Y - button_size,
|
||||||
m_screensize.X - (1.75 * button_size),
|
m_screensize.X - (1.75 * button_size),
|
||||||
m_screensize.Y - (0.5 * button_size)),
|
m_screensize.Y),
|
||||||
L"H", false);
|
L"H", false);
|
||||||
|
|
||||||
// init zoom button
|
// init zoom button
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 396 B After Width: | Height: | Size: 1.0 KiB |
Loading…
Reference in New Issue
Block a user