mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-31 14:15:14 +00:00
Fields can be local variables
This commit is contained in:
@@ -48,8 +48,6 @@ public class MousePadActivity
|
||||
|
||||
private float mPrevX;
|
||||
private float mPrevY;
|
||||
private float mCurrentX;
|
||||
private float mCurrentY;
|
||||
private float mCurrentSensitivity;
|
||||
private float displayDpiMultiplier;
|
||||
private int scrollDirection = 1;
|
||||
@@ -299,8 +297,8 @@ public class MousePadActivity
|
||||
mPrevY = event.getY();
|
||||
break;
|
||||
case MotionEvent.ACTION_MOVE:
|
||||
mCurrentX = event.getX();
|
||||
mCurrentY = event.getY();
|
||||
float mCurrentX = event.getX();
|
||||
float mCurrentY = event.getY();
|
||||
|
||||
MousePadPlugin plugin = KdeConnect.getInstance().getDevicePlugin(deviceId, MousePadPlugin.class);
|
||||
if (plugin == null) {
|
||||
|
Reference in New Issue
Block a user