Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
kahayash authored and kahayash committed Jul 18, 2017
1 parent 7724542 commit 869c60a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PagingKit/MenuView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public class PagingMenuView: UIScrollView {
public func rectForItem(at index: Int) -> CGRect? {
guard index < frameQueue.count else {
let lastFrame = frameQueue.last
let rightEdge = lastFrame.flatMap { CGRect(x: $0.maxX, y: 0, width: 0, height: 0) }
let rightEdge = lastFrame.flatMap { CGRect(x: $0.maxX, y: 0, width: 0, height: $0.height) }
return rightEdge
}

Expand Down

0 comments on commit 869c60a

Please sign in to comment.