Skip to content
Snippets Groups Projects
Commit 41c6155f authored by Ychebotarev ProductEngine's avatar Ychebotarev ProductEngine
Browse files

fix for normal EXT-3807 ABOUT LAND/OBJECTS: (i) icon is badly positioned

--HG--
branch : product-engine
parent 0ae5368c
No related branches found
No related tags found
No related merge requests found
...@@ -152,6 +152,7 @@ BOOL LLNameListCtrl::handleToolTip(S32 x, S32 y, MASK mask) ...@@ -152,6 +152,7 @@ BOOL LLNameListCtrl::handleToolTip(S32 x, S32 y, MASK mask)
if (avatar_id.notNull()) if (avatar_id.notNull())
{ {
// ...valid avatar id // ...valid avatar id
LLScrollListCell* hit_cell = hit_item->getColumn(column_index); LLScrollListCell* hit_cell = hit_item->getColumn(column_index);
if (hit_cell) if (hit_cell)
{ {
...@@ -162,8 +163,8 @@ BOOL LLNameListCtrl::handleToolTip(S32 x, S32 y, MASK mask) ...@@ -162,8 +163,8 @@ BOOL LLNameListCtrl::handleToolTip(S32 x, S32 y, MASK mask)
localRectToScreen(cell_rect, &sticky_rect); localRectToScreen(cell_rect, &sticky_rect);
// Spawn at right side of cell // Spawn at right side of cell
LLCoordGL pos( sticky_rect.mRight - 16, sticky_rect.mTop + (sticky_rect.getHeight()-16)/2 );
LLPointer<LLUIImage> icon = LLUI::getUIImage("Info_Small"); LLPointer<LLUIImage> icon = LLUI::getUIImage("Info_Small");
LLCoordGL pos( sticky_rect.mRight - 16, sticky_rect.mTop - (sticky_rect.getHeight() - icon->getHeight())/2 );
// Should we show a group or an avatar inspector? // Should we show a group or an avatar inspector?
bool is_group = hit_item->getValue()["is_group"].asBoolean(); bool is_group = hit_item->getValue()["is_group"].asBoolean();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment