Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue when detecting if slide is visible
The last slide offset was ceiled before comparing it to the dimensions of the container which could cause problems when viewport size could lead to the item end offset being 1px off. Instead we floor the number to make sure it doesn't add that extra pixel. Fixes #40
- Loading branch information