commit
57f4565bb8
|
|
@ -2061,12 +2061,5 @@ void LLTabContainer::commitHoveredButton(S32 x, S32 y)
|
|||
tuple->mButton->onCommit();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* EXT - 4572 (Click and hold the left mouse button doesn't let you browse tabbed IM floater)
|
||||
*
|
||||
* During hovering mouse(with left mouse button hold) over tabs, a newly just activated corresponding
|
||||
* to the tab(that is hovered in the given instant of time) panel may caught mouse capture.
|
||||
*/
|
||||
gFocusMgr.setMouseCapture(this);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -127,12 +127,6 @@ void LLIMFloater::onFocusReceived()
|
|||
{
|
||||
LLIMModel::getInstance()->setActiveSessionID(mSessionID);
|
||||
|
||||
// return focus to the input field when active tab in the multitab container is clicked.
|
||||
if (isChatMultiTab() && mInputEditor)
|
||||
{
|
||||
mInputEditor->setFocus(TRUE);
|
||||
}
|
||||
|
||||
LLBottomTray::getInstance()->getChicletPanel()->setChicletToggleState(mSessionID, true);
|
||||
}
|
||||
|
||||
|
|
@ -682,15 +676,6 @@ void LLIMFloater::onInputEditorFocusReceived( LLFocusableElement* caller, void*
|
|||
//in disconnected state IM input editor should be disabled
|
||||
self->mInputEditor->setEnabled(!gDisconnected);
|
||||
}
|
||||
|
||||
// when IM Floater is a part of the multitab container LLTabContainer set focus to the first
|
||||
// child on tab button's mouse up. This leads input field lost focus. See EXT-3852.
|
||||
if (isChatMultiTab())
|
||||
{
|
||||
// So, clear control captured mouse to prevent LLTabContainer set focus on the panel's first child.
|
||||
// do not pass self->mInputEditor, this leads to have "Edit Text" mouse pointer wherever it is.
|
||||
gFocusMgr.setMouseCapture(NULL);
|
||||
}
|
||||
}
|
||||
|
||||
// static
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
<floater
|
||||
legacy_header_height="18"
|
||||
background_visible="true"
|
||||
default_tab_group="1"
|
||||
follows="all"
|
||||
height="350"
|
||||
layout="topleft"
|
||||
|
|
@ -18,12 +19,14 @@
|
|||
min_height="190">
|
||||
<layout_stack
|
||||
animate="false"
|
||||
default_tab_group="2"
|
||||
follows="all"
|
||||
height="320"
|
||||
width="360"
|
||||
layout="topleft"
|
||||
orientation="horizontal"
|
||||
name="im_panels"
|
||||
tab_group="1"
|
||||
top="20"
|
||||
left="0">
|
||||
<layout_panel
|
||||
|
|
@ -35,7 +38,9 @@
|
|||
auto_resize="false"
|
||||
user_resize="true" />
|
||||
<layout_panel
|
||||
default_tab_group="3"
|
||||
left="0"
|
||||
tab_group="2"
|
||||
top="0"
|
||||
height="200"
|
||||
width="245"
|
||||
|
|
@ -75,6 +80,7 @@
|
|||
label="To"
|
||||
layout="bottomleft"
|
||||
name="chat_editor"
|
||||
tab_group="3"
|
||||
width="240">
|
||||
</line_editor>
|
||||
</layout_panel>
|
||||
|
|
|
|||
Loading…
Reference in New Issue