mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 08:35:37 -04:00
Fix subControlButton appearing when using GUI button
This commit is contained in:
parent
2d3349ceed
commit
8988a6075f
@ -231,6 +231,7 @@ public class ControlLayout extends FrameLayout
|
|||||||
|
|
||||||
if(view instanceof ControlSubButton){
|
if(view instanceof ControlSubButton){
|
||||||
view.setVisibility(mControlVisible ? (((ControlSubButton)view).parentDrawer.areButtonsVisible ? VISIBLE : GONE) : View.GONE);
|
view.setVisibility(mControlVisible ? (((ControlSubButton)view).parentDrawer.areButtonsVisible ? VISIBLE : GONE) : View.GONE);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(view instanceof ControlDrawer){
|
if(view instanceof ControlDrawer){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user