File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
balloon/src/main/kotlin/com/skydoves/balloon Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -595,13 +595,13 @@ public class Balloon private constructor(
595
595
val elevation = builder.elevation.toInt()
596
596
with (binding.balloonContent) {
597
597
when (builder.arrowOrientation) {
598
- ArrowOrientation .START -> setPadding(paddingSize, elevation , paddingSize, elevation )
599
- ArrowOrientation .END -> setPadding(paddingSize, elevation , paddingSize, elevation )
598
+ ArrowOrientation .START -> setPadding(paddingSize, 0 , paddingSize, 0 )
599
+ ArrowOrientation .END -> setPadding(paddingSize, 0 , paddingSize, 0 )
600
600
ArrowOrientation .TOP ->
601
- setPadding(elevation , paddingSize, elevation , paddingSize.coerceAtLeast(elevation))
601
+ setPadding(0 , paddingSize, 0 , paddingSize.coerceAtLeast(elevation))
602
602
603
603
ArrowOrientation .BOTTOM ->
604
- setPadding(elevation , paddingSize, elevation , paddingSize.coerceAtLeast(elevation))
604
+ setPadding(0 , paddingSize, 0 , paddingSize.coerceAtLeast(elevation))
605
605
}
606
606
}
607
607
}
You can’t perform that action at this time.
0 commit comments