- InpuManager : Updated cursor pos on click, so that non android touch events can properly update cursor position.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8531 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
rem..om 2011-10-26 15:09:12 +00:00
parent 653cc6440c
commit cc7701aa0d

View File

@ -426,7 +426,8 @@ public class InputManager implements RawInputListener {
if (!eventsPermitted) {
throw new UnsupportedOperationException("MouseInput has raised an event at an illegal time.");
}
//updating cursor pos on click, so that non android touch events can properly update cursor position.
cursorPos.set(evt.getX(), evt.getY());
inputQueue.add(evt);
}