s-yadav / patternLock

A light weight plugin to simulate android like pattern lock interface for your hybrid app or website.
MIT License
378 stars 141 forks source link

How do I complete full circuit? #11

Closed nirajmchauhan closed 8 years ago

nirajmchauhan commented 8 years ago

I want to know how can I complete the entire circuit, like if I want an entire box then how do I achieve, please find attach screenshot:

screen shot 2016-01-18 at 12 39 21 pm

So now the entire square is not formed, the plugin is restricting me to do that, I know in android also it cannot happen, but how do I achieve this?

khangaikh commented 8 years ago

I have same problem. I would like go over dotes again

s-yadav commented 8 years ago

@nirajmchauhan @khangaikh It does not allow to go over same dots. This is similar to how android patternlock behaves. But if you want it you can comment if condition check in line no 121

if (patternAry.indexOf(pattId) == -1) {
khangaikh commented 8 years ago

Thanks @s-yadav