diff options
author | Richard Linden <none@none> | 2010-03-03 19:37:41 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2010-03-03 19:37:41 -0800 |
commit | 69f9c0bcf9764a1b682bfdd5baa3f340922dcbaa (patch) | |
tree | 0add9cfef233a0b93bb2f0d85b57cc41d8f1deb4 /indra/newview/llpanelnearbymedia.cpp | |
parent | c3c04adaa56c895018e1d2dd32b94469aaf44347 (diff) |
WIP - replace top ctrl with LLPopupView
Diffstat (limited to 'indra/newview/llpanelnearbymedia.cpp')
-rw-r--r-- | indra/newview/llpanelnearbymedia.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llpanelnearbymedia.cpp b/indra/newview/llpanelnearbymedia.cpp index 41e37a9b1b..4bbecc4799 100644 --- a/indra/newview/llpanelnearbymedia.cpp +++ b/indra/newview/llpanelnearbymedia.cpp @@ -82,6 +82,8 @@ LLPanelNearByMedia::LLPanelNearByMedia() mParcelMediaItem(NULL), mParcelAudioItem(NULL) { + mHoverTimer.stop(); + mParcelAudioAutoStart = gSavedSettings.getBOOL(LLViewerMedia::AUTO_PLAY_MEDIA_SETTING) && gSavedSettings.getBOOL("MediaTentativeAutoPlay"); @@ -188,6 +190,13 @@ void LLPanelNearByMedia::onMouseLeave(S32 x, S32 y, MASK mask) } /*virtual*/ +void LLPanelNearByMedia::onTopLost() +{ + setVisible(FALSE); +} + + +/*virtual*/ void LLPanelNearByMedia::handleVisibilityChange ( BOOL new_visibility ) { if (new_visibility) |