mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Fix staggered animation on right panel home screen
Recently we have added support for multiple panels on the home screen but the current StaggeredWorkspaceAnim logic only supports animation for the leftmost panel. Test: manual Bug: 183032642 Change-Id: I539e1c1a26292b75801eb3070e22f0fbde1ebc7e
This commit is contained in:
@@ -307,7 +307,7 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou
|
||||
/**
|
||||
* Returns the currently visible pages.
|
||||
*/
|
||||
protected Iterable<View> getVisiblePages() {
|
||||
public Iterable<View> getVisiblePages() {
|
||||
int panelCount = getPanelCount();
|
||||
List<View> visiblePages = new ArrayList<>(panelCount);
|
||||
for (int i = mCurrentPage; i < mCurrentPage + panelCount; i++) {
|
||||
|
||||
Reference in New Issue
Block a user