liuzheng9110 / android-lockpattern

clone form googlecode android-lockpattern
https://code.google.com/p/android-lockpattern/
Apache License 2.0
0 stars 0 forks source link

Draw the path when the first Cell was selected and move to next. #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Awesome project! I integrate it in my App.

What steps will reproduce the problem?
1.When I select first Cell and move to next Cell, the path won't display until 
the second Cell be selected.My English is poor, so I upload a picture to 
explain it.

What is the expected output? What do you see instead?
I think change one number will make it better.
LockPatternView.java 
lineNumber 1169

 if ((mPatternInProgress || mPatternDisplayMode == DisplayMode.Animate)
                    && anyCircles && count > 1) {
                currentPath.lineTo(mInProgressX, mInProgressY);
            }

"count > 1" --> "count > 0"

I had a testing, and it works well.

Original issue reported on code.google.com by tangchan...@gmail.com on 12 Apr 2014 at 3:10

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you.

Please don't worry about your English. This is not an English forum. Thank you 
again for your contribution.

Have a nice weekend  :-)

Sincerely,
Hai

Original comment by haibison...@gmail.com on 12 Apr 2014 at 5:48