enyojs/spotlight — pull request #120 by KunmyonChoi (2014-02-25 13:35:30+00:00)
Title: GF-61401: Move unspot from spot to _setCurrent to reduce the dual focus ...

...chance.

Fixing http://jira2.lgsvl.com/browse/GF-61401

Reproduce:
1) Run attached sample.
2) Move focus down to item 39 which is on the second page right most item.

Problem:
Dual focus

Expected result:
No dual focus

Solution:
When spot is called, unspot is blur current item.
But, if spot is called just after the previous spot call is done unspot but not change current control on _setCurrent then unspot from next spot call is blur the last focused item because current is not changed yet.

We can remove the time gap by calling unspot just before _unhighlight on _setCurrent and move unspot on spot function into the pointer mode case.

DCO-1.1-Signed-Off-By: Kunmyon Choi