Skip to content

Commit fd0fdf7

Browse files
committed
removed alpha when front layer is folded
1 parent e6d617b commit fd0fdf7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Ibackdrop/src/main/java/com/pedromassango/ibackdrop/NavigationIconClickListener.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,13 @@ class NavigationIconClickListener @JvmOverloads internal constructor(
6464
animatorSet.play(animator)
6565
animator.start()
6666

67-
if(backdropShown){
67+
// add transparency on front layer when folded
68+
// we do not need this, because the front layer stay in the bottom of back layer
69+
/* if(backdropShown){
6870
sheet.alpha = 0.9F
6971
}else{
7072
sheet.alpha = 1.0F
71-
}
73+
}*/
7274
}
7375

7476
/**

0 commit comments

Comments
 (0)