mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 14:05:41 -04:00
FullscreenUI: Allow using input button to clear bindings
This commit is contained in:
parent
7d3ac98cc6
commit
13f7672a78
@ -1328,7 +1328,8 @@ void FullscreenUI::DrawInputBindingButton(SettingsInterface* bsi, Controller::Co
|
||||
{
|
||||
BeginInputBinding(bsi, type, section, name, display_name);
|
||||
}
|
||||
else if (ImGui::IsItemClicked(ImGuiMouseButton_Right))
|
||||
else if (ImGui::IsItemClicked(ImGuiMouseButton_Right) ||
|
||||
ImGui::IsNavInputTest(ImGuiNavInput_Input, ImGuiNavReadMode_Pressed))
|
||||
{
|
||||
bsi->DeleteValue(section, name);
|
||||
SetSettingsChanged(bsi);
|
||||
|
Loading…
x
Reference in New Issue
Block a user