mirror of
https://github.com/SimpleMobileTools/Simple-Launcher.git
synced 2025-06-05 21:59:15 +02:00
Filter only visible items for accessibility helper
This commit is contained in:
@@ -1300,7 +1300,7 @@ class HomeScreenGrid(context: Context, attrs: AttributeSet, defStyle: Int) : Rel
|
||||
}
|
||||
|
||||
override fun getVisibleVirtualViews(virtualViewIds: MutableList<Int>?) {
|
||||
val sorted = gridItems.sortedBy {
|
||||
val sorted = gridItems.filterVisibleOnCurrentPageOnly().sortedBy {
|
||||
it.getDockAdjustedTop(rowCount) * 100 + it.left
|
||||
}
|
||||
sorted.forEachIndexed { index, homeScreenGridItem ->
|
||||
|
Reference in New Issue
Block a user