Skip to content

Commit

Permalink
update doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuatbrown committed Nov 27, 2024
1 parent f4f2dc8 commit c9de66d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Nos/Views/Components/Media/GalleryView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ fileprivate struct GalleryIndexView: View {
/// Calculates the scale factor for a circle at a given index.
///
/// - Parameter index: The index of the page to evaluate.
/// - Returns: A scale factor based on the distance from `currentIndex`.
/// - Returns: A scale factor based on whether it's the current index, and if not, whether it's on the edge.
private func scaleFor(_ index: Int) -> CGFloat {
if index == currentIndex {
return 1.0
Expand Down

0 comments on commit c9de66d

Please sign in to comment.