mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-13 05:15:28 +01:00
TouchControls: Implement an option for dig/place buttons (#15845)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user