diff options
| author | maxim_productengine <mnikolenko@productengine.com> | 2019-09-24 16:37:15 +0300 |
|---|---|---|
| committer | maxim_productengine <mnikolenko@productengine.com> | 2019-09-24 16:37:15 +0300 |
| commit | c7e9bbc20e2c08976cdb72a877d7d41a2546f418 (patch) | |
| tree | eac38d7184d7253332b5b1c54ed760b063750e3d /indra/newview/llinspectgroup.cpp | |
| parent | 6ef78777660460f994713e596a31f29b62678170 (diff) | |
SL-11957 FIXED The Mini-inspector changes position when clicking on the 'View full profile' link
Diffstat (limited to 'indra/newview/llinspectgroup.cpp')
| -rw-r--r-- | indra/newview/llinspectgroup.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/indra/newview/llinspectgroup.cpp b/indra/newview/llinspectgroup.cpp index 8332443162..0a30ab9217 100644 --- a/indra/newview/llinspectgroup.cpp +++ b/indra/newview/llinspectgroup.cpp @@ -38,7 +38,6 @@ #include "llfloater.h" #include "llfloaterreg.h" #include "llresmgr.h" // getMonetaryString() -#include "lltooltip.h" // positionViewNearMouse() #include "lltrans.h" #include "lluictrl.h" #include "llgroupiconctrl.h" @@ -124,17 +123,7 @@ void LLInspectGroup::onOpen(const LLSD& data) setGroupID(data["group_id"]); - // Position the inspector relative to the mouse cursor - // Similar to how tooltips are positioned - // See LLToolTipMgr::createToolTip - if (data.has("pos")) - { - LLUI::positionViewNearMouse(this, data["pos"]["x"].asInteger(), data["pos"]["y"].asInteger()); - } - else - { - LLUI::positionViewNearMouse(this); - } + LLInspect::repositionInspector(data); // can't call from constructor as widgets are not built yet requestUpdate(); |
