inputroll - make escape clear selected items, this was being done custom in ram search but makes sense to be a consistent feature. It's possible people will be upset with this in tastudio since this is new functionality (and not in taseditor either)

This commit is contained in:
adelikat 2020-07-11 15:41:45 -05:00
parent d44e96f535
commit e5dc473203
2 changed files with 6 additions and 5 deletions

View File

@ -1350,7 +1350,12 @@ namespace BizHawk.Client.EmuHawk
{ {
if (!SuspendHotkeys) if (!SuspendHotkeys)
{ {
if (e.IsCtrlShift(Keys.F)) if (e.IsPressed(Keys.Escape))
{
DeselectAll();
Refresh();
}
else if (e.IsCtrlShift(Keys.F))
{ {
if (Rotatable) if (Rotatable)
{ {

View File

@ -1683,10 +1683,6 @@ namespace BizHawk.Client.EmuHawk
{ {
CopyWatchesToClipBoard(); CopyWatchesToClipBoard();
} }
else if (e.IsPressed(Keys.Escape))
{
WatchListView.DeselectAll();
}
} }
private void WatchListView_SelectedIndexChanged(object sender, EventArgs e) private void WatchListView_SelectedIndexChanged(object sender, EventArgs e)