CHUI-444 (Click target off when conversation list is minimized to icons)
parent
04dee1bad9
commit
5f6d55eb1b
|
|
@ -1863,7 +1863,7 @@ BOOL LLFolderViewFolder::handleMouseDown( S32 x, S32 y, MASK mask )
|
|||
}
|
||||
if( !handled )
|
||||
{
|
||||
if(mIndentation < x && x < mIndentation + (isMinimized() ? 0 : mArrowSize) + mTextPad)
|
||||
if(mIndentation < x && x < mIndentation + (isCollapsed() ? 0 : mArrowSize) + mTextPad)
|
||||
{
|
||||
toggleOpen();
|
||||
handled = TRUE;
|
||||
|
|
@ -1887,7 +1887,7 @@ BOOL LLFolderViewFolder::handleDoubleClick( S32 x, S32 y, MASK mask )
|
|||
}
|
||||
if( !handled )
|
||||
{
|
||||
if(mIndentation < x && x < mIndentation + (isMinimized() ? 0 : mArrowSize) + mTextPad)
|
||||
if(mIndentation < x && x < mIndentation + (isCollapsed() ? 0 : mArrowSize) + mTextPad)
|
||||
{
|
||||
// don't select when user double-clicks plus sign
|
||||
// so as not to contradict single-click behavior
|
||||
|
|
|
|||
|
|
@ -292,7 +292,7 @@ protected:
|
|||
friend class LLUICtrlFactory;
|
||||
|
||||
void updateLabelRotation();
|
||||
virtual bool isMinimized() { return FALSE; }
|
||||
virtual bool isCollapsed() { return FALSE; }
|
||||
|
||||
public:
|
||||
typedef std::list<LLFolderViewItem*> items_t;
|
||||
|
|
|
|||
Loading…
Reference in New Issue