♻️ :: Adapt layer mask

This commit is contained in:
Felix Mau committed 2020-06-16 17:52:26 +02:00
1 parent 4daff045c3
commit 33bfb88ddb
3 files changed
+1 -1

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ open class NotchGradientLoadingBarController: GradientLoadingBarController {
private func applyNotchMask(for screenWidth: CGFloat) {
// We always center the notch in the middle of the screen.
let leftNotchPoint = (screenWidth - Config.notchWidth) / 2
let leftNotchPoint = (screenWidth - Config.notchWidth) / 2 + 0.5
let rightNotchPoint = (screenWidth + Config.notchWidth) / 2
let smallCircleDiameter: CGFloat = 2 * Config.smallCircleRadius