Skip to content

Commit

Permalink
Remove unused line
Browse files Browse the repository at this point in the history
  • Loading branch information
av0c0der committed Jul 8, 2017
1 parent de07c59 commit 9e2fd9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions GlidingCollection/GlidingCollection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -386,9 +386,7 @@ extension GlidingCollection {
if let path = paths[safe: 1], let cell = collectionView.cellForItem(at: path) {
if let attributes = collectionView.collectionViewLayout.layoutAttributesForElements(in: cell.frame),
let targetAttributes = attributes.filter({ $0.indexPath == path }).first,
let _ = collectionView.cellForItem(at: targetAttributes.indexPath) {
// cell.contentView.transform = c.contentView.transform
}
let _ = collectionView.cellForItem(at: targetAttributes.indexPath) { }

UIGraphicsBeginImageContextWithOptions(cell.bounds.size, true, 0)
if let context = UIGraphicsGetCurrentContext() {
Expand Down

0 comments on commit 9e2fd9c

Please sign in to comment.