Fixed normal bug EXT-5116 (Voice notification should display on top of IM window, not under.)
Replaced sending voice notifications to front (in floater view) with adding them to popup view. In this case Voice Notifications are shown on top even IM window has focus. And Resident can continue enter the text when Voice notification is shown. Reviewad by Vadim at https://codereview.productengine.com/secondlife/r/120/ --HG-- branch : product-enginemeow-7.2.2
parent
be66b52057
commit
3f3c9c7e25
|
|
@ -1559,6 +1559,11 @@ LLCallDialog::LLCallDialog(const LLSD& payload)
|
|||
setDocked(true);
|
||||
}
|
||||
|
||||
LLCallDialog::~LLCallDialog()
|
||||
{
|
||||
LLUI::removePopup(this);
|
||||
}
|
||||
|
||||
void LLCallDialog::getAllowedRect(LLRect& rect)
|
||||
{
|
||||
rect = gViewerWindow->getWorldViewRectScaled();
|
||||
|
|
@ -1612,7 +1617,7 @@ void LLCallDialog::onOpen(const LLSD& key)
|
|||
LLDockableFloater::onOpen(key);
|
||||
|
||||
// it should be over the all floaters. EXT-5116
|
||||
gFloaterView->bringToFront(this, FALSE);
|
||||
LLUI::addPopup(this);
|
||||
}
|
||||
|
||||
void LLCallDialog::setIcon(const LLSD& session_id, const LLSD& participant_id)
|
||||
|
|
|
|||
|
|
@ -495,7 +495,7 @@ class LLCallDialog : public LLDockableFloater
|
|||
{
|
||||
public:
|
||||
LLCallDialog(const LLSD& payload);
|
||||
~LLCallDialog() {}
|
||||
~LLCallDialog();
|
||||
|
||||
virtual BOOL postBuild();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue