ditto for RightColumnClick

This commit is contained in:
adelikat 2014-10-19 00:19:17 +00:00
parent e54a731ada
commit 26a37544ac
1 changed files with 10 additions and 7 deletions

View File

@ -1132,11 +1132,7 @@ namespace BizHawk.Client.EmuHawk
if (e.Button == MouseButtons.Right)
{
if (IsHoveringOnColumnCell)
{
ColumnRightClickEvent(ColumnAtX(e.X));
}
else
if (!IsHoveringOnColumnCell)
{
RightButtonHeld = true;
}
@ -1239,9 +1235,16 @@ namespace BizHawk.Client.EmuHawk
protected override void OnMouseUp(MouseEventArgs e)
{
if (e.Button == MouseButtons.Left && IsHoveringOnColumnCell)
if (IsHoveringOnColumnCell)
{
ColumnClickEvent(ColumnAtX(e.X));
if (e.Button == MouseButtons.Left)
{
ColumnClickEvent(ColumnAtX(e.X));
}
else if (e.Button == MouseButtons.Right)
{
ColumnRightClickEvent(ColumnAtX(e.X));
}
}
IsPaintDown = false;