lxcid/LXReorderableCollectionViewFlowLayout — pull request #48 by raphaelschaad (2013-11-18 18:06:48+00:00)
Title: Fix "cell is slipping away under finger"-bug

By rounding `distance` to an integer.

Setting a non-integral value to `self.collectionView.contentOffset` will get rounded automatically anyway but `self.currentViewCenter` and `self.currentView.center` won't and that's where the values slowly diverge if the speed is not dividable without rest by 60 (the default fps). The default speed is 300 but bumping it up to e.g. 500 for faster scrolling caused the bug to happen.