mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-17 04:31:37 -04:00
UI: Refactor pane control to allow hover for help text
This commit is contained in:
@@ -84,7 +84,7 @@ void SelectButton::update_props(Props props) {
|
||||
}
|
||||
|
||||
bool SelectButton::handle_nav_command(NavCommand cmd) {
|
||||
if (cmd == NavCommand::Confirm) {
|
||||
if (cmd == NavCommand::Confirm && mProps.submit) {
|
||||
mRoot->DispatchEvent(Rml::EventId::Submit, {});
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user