mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 07:46:55 +00:00
Merge "Maintain dot and text visibility if a new popup is created while closing" into ub-launcher3-qt-future-dev
This commit is contained in:
@@ -575,8 +575,11 @@ public class PopupContainerWithArrow extends ArrowPopup implements DragSource,
|
||||
|
||||
@Override
|
||||
protected void closeComplete() {
|
||||
mOriginalIcon.setTextVisibility(mOriginalIcon.shouldTextBeVisible());
|
||||
mOriginalIcon.setForceHideDot(false);
|
||||
PopupContainerWithArrow openPopup = getOpen(mLauncher);
|
||||
if (openPopup == null || openPopup.mOriginalIcon != mOriginalIcon) {
|
||||
mOriginalIcon.setTextVisibility(mOriginalIcon.shouldTextBeVisible());
|
||||
mOriginalIcon.setForceHideDot(false);
|
||||
}
|
||||
super.closeComplete();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user