Skip to content

Commit

Permalink
Tiny fix for non-3x devices
Browse files Browse the repository at this point in the history
  • Loading branch information
PimCoumans committed Jan 30, 2024
1 parent 64fa203 commit ff2d519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/PanelPresenter/ScrollView/UIScrollView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ extension UIScrollView {
}
}

private var pointPrecision: CGFloat { 1 / UIScreen.main.scale }
private var pointPrecision: CGFloat { 3 }

/// Content sits at top offset or is scroll-bouncing at top
public var isAtTop: Bool {
Expand Down

0 comments on commit ff2d519

Please sign in to comment.