1
0
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:
grorp
2025-03-21 07:06:44 -04:00
committed by GitHub
parent 1f14b7cb1b
commit ead44a27ca
15 changed files with 540 additions and 88 deletions

View File

@@ -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;
}