- 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:
parent
653cc6440c
commit
cc7701aa0d
@ -426,7 +426,8 @@ public class InputManager implements RawInputListener {
|
|||||||
if (!eventsPermitted) {
|
if (!eventsPermitted) {
|
||||||
throw new UnsupportedOperationException("MouseInput has raised an event at an illegal time.");
|
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);
|
inputQueue.add(evt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user