Fix[drawer]: sync when hiding the button

This commit is contained in:
Mathias Boulay 2023-08-04 18:43:48 +02:00 committed by ArtDev
parent ea2d10aa1b
commit 876c97fe2e

View File

@ -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")