diff options
author | Richard Linden <none@none> | 2012-01-17 11:55:19 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2012-01-17 11:55:19 -0800 |
commit | facb0fa42cf7dbc4deb3a4026cc216aa0099111e (patch) | |
tree | a96bb9bb96ddd26173174de9383c851cc356b110 /indra/llui/llwindowshade.cpp | |
parent | 64c45cbd1ace677456db56d1a506f2fe44b6e9c6 (diff) | |
parent | 1f9529c0c2b02c4ceee912f8ecb35181174cc7cc (diff) |
merge with viewer-development
Diffstat (limited to 'indra/llui/llwindowshade.cpp')
-rw-r--r-- | indra/llui/llwindowshade.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llwindowshade.cpp b/indra/llui/llwindowshade.cpp index ae8b30b1ba..a8bb29374e 100644 --- a/indra/llui/llwindowshade.cpp +++ b/indra/llui/llwindowshade.cpp @@ -176,12 +176,12 @@ void LLWindowShade::draw() { hide(); } - else if (notification_area->getCollapseFactor() < 0.01f) + else if (notification_area->getVisibleAmount() < 0.01f) { displayLatestNotification(); } - if (!notification_area->getVisible() && (notification_area->getCollapseFactor() < 0.001f)) + if (!notification_area->getVisible() && (notification_area->getVisibleAmount() < 0.001f)) { getChildRef<LLLayoutPanel>("background_area").setBackgroundVisible(false); setMouseOpaque(false); |