Skip to content

Commit

Permalink
Apply cornerRadius only for top corners
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailmaslo committed Dec 28, 2021
1 parent d1209dc commit 81b0e2a
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -267,6 +267,7 @@ public final class BottomSheetPresentationController: UIPresentationController {

pullBar?.layer.mask = nil
presentedViewController.view.layer.cornerRadius = Style.cornerRadius
presentedViewController.view.layer.maskedCorners = [.layerMinXMinYCorner, .layerMaxXMinYCorner]
}

private func addSubviews() {
Expand Down

0 comments on commit 81b0e2a

Please sign in to comment.