InputRoll: Fix column click events going to wrong column in horizontal orientation.
This commit is contained in:
parent
4386159b90
commit
e27647e8cb
|
@ -1248,11 +1248,11 @@ namespace BizHawk.Client.EmuHawk
|
||||||
}
|
}
|
||||||
else if (e.Button == MouseButtons.Left)
|
else if (e.Button == MouseButtons.Left)
|
||||||
{
|
{
|
||||||
ColumnClickEvent(ColumnAtPixel(e.X));
|
ColumnClickEvent(ColumnAtPixel(HorizontalOrientation ? e.Y : e.X));
|
||||||
}
|
}
|
||||||
else if (e.Button == MouseButtons.Right)
|
else if (e.Button == MouseButtons.Right)
|
||||||
{
|
{
|
||||||
ColumnRightClickEvent(ColumnAtPixel(e.X));
|
ColumnRightClickEvent(ColumnAtPixel(HorizontalOrientation ? e.Y : e.X));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue