InputRoll - change the column click event to fire on mouse up instead of down
This commit is contained in:
parent
10b6bed056
commit
e54a731ada
|
@ -1144,11 +1144,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
if (e.Button == MouseButtons.Left)
|
||||
{
|
||||
if (IsHoveringOnColumnCell)
|
||||
{
|
||||
ColumnClickEvent(ColumnAtX(e.X));
|
||||
}
|
||||
else if (IsHoveringOnDataCell)
|
||||
if (IsHoveringOnDataCell)
|
||||
{
|
||||
if (ModifierKeys == Keys.Alt)
|
||||
{
|
||||
|
@ -1243,6 +1239,11 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
protected override void OnMouseUp(MouseEventArgs e)
|
||||
{
|
||||
if (e.Button == MouseButtons.Left && IsHoveringOnColumnCell)
|
||||
{
|
||||
ColumnClickEvent(ColumnAtX(e.X));
|
||||
}
|
||||
|
||||
IsPaintDown = false;
|
||||
RightButtonHeld = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue