Remove mouse input from mania touch controls

This commit is contained in:
Dan Balasescu 2024-08-30 16:32:15 +09:00
parent a71bc3a24a
commit 7f41d5f4e7
No known key found for this signature in database
1 changed files with 0 additions and 17 deletions

View File

@ -99,12 +99,6 @@ protected override bool OnKeyDown(KeyDownEvent e)
return false;
}
protected override bool OnMouseDown(MouseDownEvent e)
{
Show();
return true;
}
protected override bool OnTouchDown(TouchDownEvent e)
{
Show();
@ -172,17 +166,6 @@ protected override void OnTouchUp(TouchUpEvent e)
updateButton(false);
}
protected override bool OnMouseDown(MouseDownEvent e)
{
updateButton(true);
return false; // handled by parent container to show overlay.
}
protected override void OnMouseUp(MouseUpEvent e)
{
updateButton(false);
}
private void updateButton(bool press)
{
if (press == isPressed)