mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
TouchControls: Implement an option for dig/place buttons (#15845)
This commit is contained in:
parent
1f14b7cb1b
commit
ead44a27ca
15 changed files with 540 additions and 88 deletions
|
@ -371,7 +371,7 @@ bool GUITouchscreenLayout::OnEvent(const SEvent& event)
|
|||
}
|
||||
|
||||
if (event.GUIEvent.Caller == m_gui_reset_btn.get()) {
|
||||
m_layout = ButtonLayout::predefined;
|
||||
m_layout = ButtonLayout::loadDefault();
|
||||
regenerateGui(screensize);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue