Code review comment for lp:~feng-kylin/unity8/fix-lp1413791

Revision history for this message
handsome_feng (feng-kylin) wrote :

> - dash.setCurrentScope(0, animate, false)
> + dash.setCurrentScope(0, animate, true)
>
> Why this change?

To reset the search query and position the list in the beginning when click home button on the launcher.
Notice that in setCurrentScopeAtIndex(index, animate, reset):
            if (reset) {
                dashContentList.currentItem.item.positionAtBeginning()
+ dashContentList.currentItem.item.resetSearch()
            }

« Back to merge proposal