summaryrefslogtreecommitdiff
path: root/indra/newview/llchiclet.cpp
diff options
context:
space:
mode:
authorDmitry Oleshko <doleshko@productengine.com>2009-11-05 20:29:01 +0200
committerDmitry Oleshko <doleshko@productengine.com>2009-11-05 20:29:01 +0200
commit341b6e4058f50915862b932ef5655c55f23f7ffc (patch)
tree3631ecf4ee56c9c3bd6a4d30326ddf9d95421075 /indra/newview/llchiclet.cpp
parente638e77047510eb9ddf49f7e981a5742561721d7 (diff)
partial fix for a normal Sub-task (EXT-988) Change indication of unread messges in chiclets
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llchiclet.cpp')
-rw-r--r--indra/newview/llchiclet.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llchiclet.cpp b/indra/newview/llchiclet.cpp
index 0a187ca422..6fd7e6b07d 100644
--- a/indra/newview/llchiclet.cpp
+++ b/indra/newview/llchiclet.cpp
@@ -212,7 +212,7 @@ LLIMChiclet::LLIMChiclet(const LLIMChiclet::Params& p)
LLRect chiclet_rect = p.rect;
LLRect overlay_icon_rect = LLRect(chiclet_rect.getWidth()/2, chiclet_rect.mTop, chiclet_rect.mRight, chiclet_rect.getHeight()/2);
// shift an icon a little bit to the right and up corner of a chiclet
- overlay_icon_rect.translate(overlay_icon_rect.getWidth()/4, overlay_icon_rect.getHeight()/4);
+ overlay_icon_rect.translate(overlay_icon_rect.getWidth()/5, overlay_icon_rect.getHeight()/5);
mNewMessagesIcon->setRect(overlay_icon_rect);
addChild(mNewMessagesIcon);
@@ -247,8 +247,6 @@ BOOL LLIMChiclet::handleMouseDown(S32 x, S32 y, MASK mask)
void LLIMChiclet::draw()
{
LLUICtrl::draw();
-
- gl_rect_2d(0, getRect().getHeight(), getRect().getWidth(), 0, LLColor4(0.0f,0.0f,0.0f,1.f), FALSE);
}
// static