Skip to content
Snippets Groups Projects
Commit 7253c7ee authored by Andrew Dyukov's avatar Andrew Dyukov
Browse files

EXT-7511 FIXED Fixed item selection cropping in Edit Outfit

Restored changeset which was lost after merge 58571b4e704b.

Reviewed by Neal Orman at https://codereview.productengine.com/secondlife/r/780/

--HG--
branch : product-engine
parent 75e76ea2
No related branches found
No related tags found
No related merge requests found
......@@ -96,9 +96,12 @@ void LLPanelInventoryListItemBase::draw()
if (mSeparatorVisible && mSeparatorImage)
{
// stretch along bottom of listitem, using image height
// place under bottom of listitem, using image height
// item_pad in list using the item should be >= image height
// to avoid cropping of top of the next item.
LLRect separator_rect = getLocalRect();
separator_rect.mTop = mSeparatorImage->getHeight();
separator_rect.mTop = separator_rect.mBottom;
separator_rect.mBottom -= mSeparatorImage->getHeight();
mSeparatorImage->draw(separator_rect);
}
......
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