Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
41c6155f
Commit
41c6155f
authored
15 years ago
by
Ychebotarev ProductEngine
Browse files
Options
Downloads
Patches
Plain Diff
fix for normal EXT-3807 ABOUT LAND/OBJECTS: (i) icon is badly positioned
--HG-- branch : product-engine
parent
0ae5368c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/llnamelistctrl.cpp
+2
-1
2 additions, 1 deletion
indra/newview/llnamelistctrl.cpp
with
2 additions
and
1 deletion
indra/newview/llnamelistctrl.cpp
+
2
−
1
View file @
41c6155f
...
@@ -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
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment