Commit f8bd952beccb1ae3a605546313b98fb54e975bec
1 parent
4ac5ac3c
Fix the wrong keyboard focus in the last page of dali-demo
Change-Id: I937f9d2cab2779db646bf96c2c98904e468c1575
Showing
1 changed file
with
1 additions
and
1 deletions
demo/dali-table-view.cpp
| ... | ... | @@ -937,7 +937,7 @@ Dali::Actor DaliTableView::OnKeyboardPreFocusChange( Dali::Actor current, Dali:: |
| 937 | 937 | int colPos = remainingExamples >= EXAMPLES_PER_PAGE ? EXAMPLES_PER_ROW - 1 : ( remainingExamples % EXAMPLES_PER_PAGE - rowPos * EXAMPLES_PER_ROW - 1 ); |
| 938 | 938 | |
| 939 | 939 | // Move the focus to the last tile in the new page. |
| 940 | - nextFocusActor = mPages[newPage].GetChildAt(colPos * EXAMPLES_PER_ROW + rowPos); | |
| 940 | + nextFocusActor = mPages[newPage].GetChildAt(rowPos * EXAMPLES_PER_ROW + colPos); | |
| 941 | 941 | } |
| 942 | 942 | else |
| 943 | 943 | { | ... | ... |