Input Widget - if assigning a button with autotab on, if the button is not the same as the first position value, clear all bindings first. Makes for a less confusing user experience when remapping joypad buttons
This commit is contained in:
parent
8001a49afd
commit
a2829f8d9a
|
@ -175,6 +175,12 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
if (!IsDuplicate(bindingStr))
|
||||
{
|
||||
if (AutoTab)
|
||||
{
|
||||
ClearBindings();
|
||||
_pos = 0;
|
||||
}
|
||||
|
||||
_bindings[_pos] = bindingStr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue