Fix icons blinking on page change

This commit is contained in:
Ensar Sarajčić 2023-07-20 17:57:55 +02:00
parent 90ac44d54b
commit d1b888ee7e
1 changed files with 1 additions and 1 deletions

View File

@ -722,7 +722,7 @@ class HomeScreenGrid(context: Context, attrs: AttributeSet, defStyle: Int) : Rel
handleItemDrawing(item, 0f)
}
if (pageChangeAnimLeftPercentage > 0f && pageChangeAnimLeftPercentage < 1f) {
if (pageChangeAnimLeftPercentage > 0f) {
gridItems.filter { (it.drawable != null && it.type == ITEM_TYPE_ICON || it.type == ITEM_TYPE_SHORTCUT) && it.page == lastPage && !it.docked }
.forEach { item ->
if (item.outOfBounds()) {