mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 08:05:34 -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 ArrayList<ControlSubButton> buttons;
|
||||||
public ControlDrawerData drawerData;
|
public ControlDrawerData drawerData;
|
||||||
public ControlLayout mLayout;
|
public ControlLayout mLayout;
|
||||||
public boolean areButtonsVisible = false;
|
public boolean areButtonsVisible;
|
||||||
|
|
||||||
|
|
||||||
public ControlDrawer(ControlLayout layout, ControlDrawerData drawerData) {
|
public ControlDrawer(ControlLayout layout, ControlDrawerData drawerData) {
|
||||||
@ -30,6 +30,7 @@ public class ControlDrawer extends ControlButton {
|
|||||||
buttons = new ArrayList<>(drawerData.buttonProperties.size());
|
buttons = new ArrayList<>(drawerData.buttonProperties.size());
|
||||||
mLayout = layout;
|
mLayout = layout;
|
||||||
this.drawerData = drawerData;
|
this.drawerData = drawerData;
|
||||||
|
areButtonsVisible = layout.getModifiable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user