Function for float comparisons.
Merge branch 'develop' into feature/9-swipe-cancel
Cancel pan while orientation changes.