MAINT-8125 "New" tag remains visible when searching items in Received Items panel
parent
6ea525f6af
commit
7de6475a0a
|
|
@ -224,7 +224,7 @@ void LLBadge::draw()
|
|||
{
|
||||
LLView* owner_view = mOwner.get();
|
||||
|
||||
if (owner_view)
|
||||
if (owner_view && owner_view->isInVisibleChain())
|
||||
{
|
||||
//
|
||||
// Calculate badge size based on label text
|
||||
|
|
|
|||
|
|
@ -146,18 +146,16 @@ void LLInboxFolderViewFolder::draw()
|
|||
LLFolderViewFolder::draw();
|
||||
}
|
||||
|
||||
void LLInboxFolderViewFolder::selectItem()
|
||||
BOOL LLInboxFolderViewFolder::handleMouseDown( S32 x, S32 y, MASK mask )
|
||||
{
|
||||
deFreshify();
|
||||
|
||||
LLFolderViewFolder::selectItem();
|
||||
return LLFolderViewFolder::handleMouseDown(x, y, mask);
|
||||
}
|
||||
|
||||
void LLInboxFolderViewFolder::toggleOpen()
|
||||
BOOL LLInboxFolderViewFolder::handleDoubleClick( S32 x, S32 y, MASK mask )
|
||||
{
|
||||
deFreshify();
|
||||
|
||||
LLFolderViewFolder::toggleOpen();
|
||||
return LLFolderViewFolder::handleDoubleClick(x, y, mask);
|
||||
}
|
||||
|
||||
void LLInboxFolderViewFolder::computeFreshness()
|
||||
|
|
|
|||
|
|
@ -69,8 +69,8 @@ public:
|
|||
void addItem(LLFolderViewItem* item);
|
||||
void draw();
|
||||
|
||||
void selectItem();
|
||||
void toggleOpen();
|
||||
BOOL handleMouseDown(S32 x, S32 y, MASK mask);
|
||||
BOOL handleDoubleClick(S32 x, S32 y, MASK mask);
|
||||
|
||||
void computeFreshness();
|
||||
void deFreshify();
|
||||
|
|
|
|||
Loading…
Reference in New Issue