mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 07:39:00 -04:00
Fix SubButtons not appearing when in edit mode.
This commit is contained in:
parent
ef2060a8f1
commit
ff49d5a2b9
@ -21,7 +21,7 @@ public class ControlDrawer extends ControlButton {
|
||||
public ArrayList<ControlSubButton> buttons;
|
||||
public ControlDrawerData drawerData;
|
||||
public ControlLayout mLayout;
|
||||
public boolean areButtonsVisible = false;
|
||||
public boolean areButtonsVisible;
|
||||
|
||||
|
||||
public ControlDrawer(ControlLayout layout, ControlDrawerData drawerData) {
|
||||
@ -30,6 +30,7 @@ public class ControlDrawer extends ControlButton {
|
||||
buttons = new ArrayList<>(drawerData.buttonProperties.size());
|
||||
mLayout = layout;
|
||||
this.drawerData = drawerData;
|
||||
areButtonsVisible = layout.getModifiable();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user