Skip to content

Commit

Permalink
add scroll animation when CollectionViewCell is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
makomori committed Jan 11, 2017
1 parent 46f0a04 commit 941cb02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sharaku/Classes/SHViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ extension SHViewController: UICollectionViewDataSource, UICollectionViewDelegat
imageView?.image = image
}
updateCellFont()
scrollCollectionViewToIndex(itemIndex: indexPath.item)
}

func updateCellFont() {
Expand Down

0 comments on commit 941cb02

Please sign in to comment.