fix tablet menu selection issue

This commit is contained in:
Dante Ruiz 2017-01-18 17:20:42 +00:00
parent 1c13f538f7
commit 0f3ac2831e

View file

@ -222,9 +222,10 @@ Item {
}
function nextItem() {
setCurrentItemState("base state");
if((rowIndex + columnIndex) != count) {
columnIndex = (columnIndex + 3 + 1) % 3
var nextColumnIndex = (columnIndex + 3 + 1) % 3;
var nextIndex = rowIndex + nextColumnIndex;
if(nextIndex <= count) {
columnIndex = nextColumnIndex;
};
setCurrentItemState("hover state");
}