Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
feat: continuous corner not properly settled, fix glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
AzzouQ committed Mar 14, 2021
1 parent 83042c8 commit c69055a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tweak/RounderLS.xm
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
self.view.subviews[0].clipsToBounds = YES;
self.view.subviews[0].layer.maskedCorners = kCALayerMinXMaxYCorner | kCALayerMaxXMaxYCorner;
self.view.subviews[0].layer.cornerCurve = kCACornerCurveContinuous;
self.view.subviews[0].layer.cornerRadius = cornerRadius;

/*
// CSCoverSheetView
Expand All @@ -23,6 +24,7 @@
self.childViewControllers[0].view.clipsToBounds = YES;
self.childViewControllers[0].view.layer.maskedCorners = kCALayerMinXMaxYCorner | kCALayerMaxXMaxYCorner;
self.childViewControllers[0].view.layer.cornerCurve = kCACornerCurveContinuous;
self.childViewControllers[0].view.layer.cornerRadius = cornerRadius;
}

- (void)viewDidAppear:(BOOL)animated {
Expand Down

0 comments on commit c69055a

Please sign in to comment.