OpenLauncherTeam / openlauncher

Customizable and Open Source Launcher for Android
Apache License 2.0
1.41k stars 413 forks source link

Implement update when item is remove from group with >2 items. Fixes visual glitch. #555

Closed cmtjk closed 4 years ago

cmtjk commented 4 years ago

Rational

update_group_view Sorry, Peek is broken :/

When removing on item from a group with >2 items, the group icon is not updated properly still shows the removed icon. This is due to the group is never updated properly except when the whole desktop is redrawn.

This PR fixes this issue by executing an update when (currentItem.getGroupItems().size() != 1).

gsantner commented 4 years ago

Peek is broken

Do you mean only in video, before this patch, or after this patch?

cmtjk commented 4 years ago

Peek is broken

Do you mean only in video, before this patch, or after this patch?

All my gifs show some visual glitches, since Peek* seems to be a little bit broken. This has nothing to do with OpenLauncher :)

* I capture directly from emulator