Merge remote-tracking branch 'smoogipoo/void-joystick-release-returns' into update-framework

This commit is contained in:
Dean Herbert 2020-01-22 22:58:00 +09:00
commit 8c29093d1c
1 changed files with 5 additions and 3 deletions

View File

@ -240,13 +240,15 @@ protected override bool OnJoystickPress(JoystickPressEvent e)
return true;
}
protected override bool OnJoystickRelease(JoystickReleaseEvent e)
protected override void OnJoystickRelease(JoystickReleaseEvent e)
{
if (!HasFocus)
return base.OnJoystickRelease(e);
{
base.OnJoystickRelease(e);
return;
}
finalise();
return true;
}
private void clear()