Skip to content

Commit

Permalink
Fix frame conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Dec 19, 2024
1 parent 7b29cec commit 5d3f200
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ import AutomatticTracks
// Calculate visible part of the table view in `self.view` coordinates
let y: CGFloat = {
if let headerView = tableView.tableHeaderView {
return headerView.convert(headerView.frame, to: view).maxY
return tableView.convert(headerView.frame, to: view).maxY
} else {
return view.safeAreaInsets.top
}
Expand Down

0 comments on commit 5d3f200

Please sign in to comment.