mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-04-20 09:37:07 -04:00
Refactor: Remove need of the oob canvas
This commit is contained in:
@@ -187,7 +187,7 @@ dependencies {
|
||||
implementation 'com.github.PojavLauncherTeam:portrait-ssp:6c02fd739b'
|
||||
implementation 'com.github.Mathias-Boulay:ExtendedView:1.0.0'
|
||||
implementation 'com.github.Mathias-Boulay:android_gamepad_remapper:eb92e3a5bb'
|
||||
implementation 'com.github.Mathias-Boulay:virtual-joystick-android:4fee901b58'
|
||||
implementation 'com.github.Mathias-Boulay:virtual-joystick-android:a4ab959955'
|
||||
|
||||
|
||||
// implementation 'com.intuit.sdp:sdp-android:1.0.5'
|
||||
|
||||
@@ -60,12 +60,10 @@ public class ControlLayout extends FrameLayout {
|
||||
|
||||
public ControlLayout(Context ctx) {
|
||||
super(ctx);
|
||||
setClipChildren(false);
|
||||
}
|
||||
|
||||
public ControlLayout(Context ctx, AttributeSet attrs) {
|
||||
super(ctx, attrs);
|
||||
setClipChildren(false);
|
||||
}
|
||||
|
||||
|
||||
@@ -245,9 +243,6 @@ public class ControlLayout extends FrameLayout {
|
||||
}
|
||||
|
||||
public void setModifiable(boolean isModifiable) {
|
||||
// Hack to allow joystick free placement and resize while seeing the forward lock
|
||||
setClipChildren(isModifiable);
|
||||
|
||||
if(!isModifiable && mModifiable){
|
||||
removeEditWindow();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user