Fix pattern snapping to incorrect dots.

Check if the dot is on the line segment connecting previous dot and the currently hit dot before adding it to the skipped over dots list.

Fixes: 299343202
Test: atest PatternBouncerViewModelTest
Test: verified manually, 1-2-3-4 pattern should work without snapping to 1-2-3-5-4

Change-Id: I5e98d883796209af52c606450ddf1c6d2f100dd1
2 files changed