mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 08:35:37 -04:00
[Mouse capture] Fix Y pos inverted
TODO fix right mouse
This commit is contained in:
parent
5162cbf6cc
commit
bbbded5977
@ -567,7 +567,7 @@ public class BaseMainActivity extends LoggableActivity {
|
||||
@Override
|
||||
public boolean onCapturedPointer (View view, MotionEvent e) {
|
||||
x += ((int) e.getX()) / scaleFactor;
|
||||
y -= ((int) e.getY()) / scaleFactor;
|
||||
y += ((int) e.getY()) / scaleFactor;
|
||||
|
||||
if (debugText.getVisibility() == View.VISIBLE && !debugErrored) {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
|
Loading…
x
Reference in New Issue
Block a user