InputRoll - also Home and End hotkeys

This commit is contained in:
adelikat 2014-10-22 23:11:29 +00:00
parent ade5cfa8e6
commit 8b5c9dc129
1 changed files with 10 additions and 0 deletions

View File

@ -1452,6 +1452,16 @@ namespace BizHawk.Client.EmuHawk
Refresh();
}
}
else if (!e.Control && !e.Alt && !e.Shift && e.KeyCode == Keys.Home) // Home
{
FirstVisibleRow = 0;
Refresh();
}
else if (!e.Control && !e.Alt && !e.Shift && e.KeyCode == Keys.End) // End
{
LastVisibleRow = RowCount;
Refresh();
}
base.OnKeyDown(e);
}