Skip to content

Commit

Permalink
change longpress timing
Browse files Browse the repository at this point in the history
  • Loading branch information
horitaku46 committed Dec 22, 2017
1 parent 091887d commit 07aa731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Serrata/Sources/SlideLeafCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ open class SlideLeafCell: UICollectionViewCell {

@objc private func longPressGesture(_ sender: UILongPressGestureRecognizer) {
switch sender.state {
case .ended, .cancelled, .failed:
case .began:
delegate?.longPressImageView()
default:
break
Expand Down

0 comments on commit 07aa731

Please sign in to comment.