EXP-1452 FIXED (minimum height of NEARBY CHAT window can be circumvented by minimizing it.)
Reason: visibility state of chat was always set to true when floater unminimized Solution: save visibility state of the chat to restore it after floater unminimizedmeow-7.2.2
parent
d86def6f03
commit
3ae3d04e7e
|
|
@ -403,8 +403,16 @@ void LLNearbyChatBar::setMinimized(BOOL b)
|
|||
{
|
||||
if (b != LLFloater::isMinimized())
|
||||
{
|
||||
LLView* nearby_chat = getChildView("nearby_chat");
|
||||
|
||||
static bool is_visible = nearby_chat->getVisible();
|
||||
if (b)
|
||||
{
|
||||
is_visible = nearby_chat->getVisible();
|
||||
}
|
||||
|
||||
nearby_chat->setVisible(b ? false : is_visible);
|
||||
LLFloater::setMinimized(b);
|
||||
getChildView("nearby_chat")->setVisible(!b);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue