diff options
author | Logan Dethrow <log@lindenlab.com> | 2011-08-23 17:25:08 -0400 |
---|---|---|
committer | Logan Dethrow <log@lindenlab.com> | 2011-08-23 17:25:08 -0400 |
commit | 6484dbf28cb8b6ffa745fe9b26beae58d3c68441 (patch) | |
tree | a6fdd325dd5f8411495b263de49ba65dbc0108c7 /indra/newview/llfasttimerview.cpp | |
parent | 05e5ea243ea2acc9e86471c884d1a2d39c9c8e60 (diff) | |
parent | aa1424365e3df49edfc189ef433e050f502534e9 (diff) |
merge
Diffstat (limited to 'indra/newview/llfasttimerview.cpp')
-rw-r--r-- | indra/newview/llfasttimerview.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/newview/llfasttimerview.cpp b/indra/newview/llfasttimerview.cpp index 35712163eb..366154302c 100644 --- a/indra/newview/llfasttimerview.cpp +++ b/indra/newview/llfasttimerview.cpp @@ -252,7 +252,15 @@ BOOL LLFastTimerView::handleHover(S32 x, S32 y, MASK mask) x < mBarEnd[mHoverBarIndex][i]) { mHoverID = (*it); - mHoverTimer = (*it); + if (mHoverTimer != *it) + { + // could be that existing tooltip is for a parent and is thus + // covering region for this new timer, go ahead and unblock + // so we can create a new tooltip + LLToolTipMgr::instance().unblockToolTips(); + mHoverTimer = (*it); + } + mToolTipRect.set(mBarStart[mHoverBarIndex][i], mBarRect.mBottom + llround(((F32)(MAX_VISIBLE_HISTORY - mHoverBarIndex + 1)) * ((F32)mBarRect.getHeight() / ((F32)MAX_VISIBLE_HISTORY + 2.f))), mBarEnd[mHoverBarIndex][i], |