diff options
author | Dmitry Zaporozhan <dzaporozhan@productengine.com> | 2010-02-17 16:00:28 +0200 |
---|---|---|
committer | Dmitry Zaporozhan <dzaporozhan@productengine.com> | 2010-02-17 16:00:28 +0200 |
commit | 4b161b8839fa115947d8d580c575d9b91c88fbc9 (patch) | |
tree | bd9effdf3a08492c06315d30a6719af976564651 /indra/newview/llnearbychathandler.cpp | |
parent | 619415a99a08f66b8247ccd0b427c8483ba22e82 (diff) |
Fixed low bug EXT-4246 - Close button on notification toast is larger than host spot.
Close button is partially positioned out of toast(floater). Usually, hovering or clicking
that "outer" part of the button can not be handled. The workaround is to position the button
on the floater and make the floater background invisible. Now close button is properly handled,
but toast is transparent. To fix this i added wrapper_panel that looks and behaves like a floater.
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llnearbychathandler.cpp')
-rw-r--r-- | indra/newview/llnearbychathandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llnearbychathandler.cpp b/indra/newview/llnearbychathandler.cpp index 29e3c66684..3c390c0281 100644 --- a/indra/newview/llnearbychathandler.cpp +++ b/indra/newview/llnearbychathandler.cpp @@ -282,7 +282,7 @@ void LLNearbyChatScreenChannel::showToastsBottom() gFloaterView->sendChildToBack(toast); } - bottom = toast->getRect().mTop; + bottom = toast->getRect().mTop - toast->getTopPad(); } } } |