mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 07:39:00 -04:00
Fix[drawer]: sync when hiding the button
This commit is contained in:
parent
ea2d10aa1b
commit
876c97fe2e
@ -126,6 +126,9 @@ public class ControlDrawer extends ControlButton {
|
||||
public void setVisible(boolean isVisible) {
|
||||
//TODO replicate changes to his children ?
|
||||
setVisibility(isVisible ? VISIBLE : GONE);
|
||||
if(!isVisible){
|
||||
areButtonsVisible = false;
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressLint("ClickableViewAccessibility")
|
||||
|
Loading…
x
Reference in New Issue
Block a user