Skip to content

Conversation

@OrenciucEvghenii
Copy link

Three bugs fixed:

  1. App crash if drag outside of view.
  2. Cleaning if new selection is started. (Last selected dots keep selected, but shouldn't)
  3. Selection line remains, if touch ends. Remains on last touch point, and not on last selected dot.

Application crashes without added string. If you have chosen some element(dot on view) and after that you drag your finger out of view, app crashes.
Added string cleans selected dots. If they will not be deselected, user starts to choose new pins, and programmer gets new selected dots' values, but visually old dots are selected, but they shouldn't be.
If user has chosen some dot(-s) and his touch has ended not on some other dot, selecting line remains. This line (startingPoint: last selected dot, endingPoint: where touch ends) must be cleared.
This code change does it.
Additions for commit a5d6300 in DrawPatternLockViewController
Additions for commit a5d6300 in DrawPatternLockViewController.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant