Skip to content

Commit 9b03f27

Browse files
Fix centerOffset calculation
1 parent 88025ef commit 9b03f27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Framework/Sources/SpreadsheetView+CirclularScrolling.swift

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ extension SpreadsheetView {
105105
}
106106
centerOffset.y -= intercellSpacing.height * CGFloat(layoutProperties.frozenRows)
107107
}
108+
centerOffset.y *= CGFloat(circularScrollScalingFactor.vertical / 3)
108109
}
109110
return centerOffset
110111
}

0 commit comments

Comments
 (0)