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 @@ -694,13 +694,13 @@ public class Balloon private constructor(
694
694
val elevation = builder.elevation.toInt()
695
695
with (binding.balloonContent) {
696
696
when (builder.arrowOrientation) {
697
- ArrowOrientation .START -> setPadding(paddingSize, 0 , paddingSize, 0 )
698
- ArrowOrientation .END -> setPadding(paddingSize, 0 , paddingSize, 0 )
697
+ ArrowOrientation .START -> setPadding(paddingSize, elevation , paddingSize, elevation )
698
+ ArrowOrientation .END -> setPadding(paddingSize, elevation , paddingSize, elevation )
699
699
ArrowOrientation .TOP ->
700
- setPadding(0 , paddingSize, 0 , paddingSize.coerceAtLeast(elevation))
700
+ setPadding(elevation , paddingSize, elevation , paddingSize.coerceAtLeast(elevation))
701
701
702
702
ArrowOrientation .BOTTOM ->
703
- setPadding(0 , paddingSize, 0 , paddingSize.coerceAtLeast(elevation))
703
+ setPadding(elevation , paddingSize, elevation , paddingSize.coerceAtLeast(elevation))
704
704
}
705
705
}
706
706
}
You can’t perform that action at this time.
0 commit comments