mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-04-20 01:27:02 -04:00
[Control buttob resize] Try to fix drag behavior
This commit is contained in:
@@ -372,8 +372,8 @@ public abstract class HandleView extends View implements ViewPositionListener, V
|
||||
int newWidth = (int) (mDownWidth + (rawX - mDownX));
|
||||
int newHeight = (int) (mDownHeight + (rawY - mDownY));
|
||||
|
||||
mDownX = rawX;
|
||||
mDownY = rawY;
|
||||
// mDownX = rawX;
|
||||
// mDownY = rawY;
|
||||
|
||||
params.width = Math.max(50, newWidth);
|
||||
params.height = Math.max(50, newHeight);
|
||||
|
||||
Reference in New Issue
Block a user