mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 16:47:14 -04:00
creating a subButton will inherit its mother's visual properties
This commit is contained in:
parent
c1211f03e9
commit
c13eda73e1
@ -73,8 +73,9 @@ public class EditControlDrawerPopup extends EditControlButtonPopup{
|
||||
@Override
|
||||
public void onClick(DialogInterface dialogInterface, int i) {
|
||||
ControlLayout layout = (ControlLayout) drawer.getParent();
|
||||
layout.addSubButton(drawer, new ControlData());
|
||||
|
||||
ControlData controlData = drawerData.properties.clone();
|
||||
controlData.name = "new";
|
||||
layout.addSubButton(drawer, controlData);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user