diff options
author | Alexei Arabadji <aarabadji@productengine.com> | 2010-03-02 11:53:00 +0200 |
---|---|---|
committer | Alexei Arabadji <aarabadji@productengine.com> | 2010-03-02 11:53:00 +0200 |
commit | e88b6d9c7a5c17b88fb3e9efc95b540e6cefc12d (patch) | |
tree | a79402842b906c14fb81ef4cd14d185847dfbace /indra/newview/llscriptfloater.cpp | |
parent | bbe2daad55777974f10f98b8a8023c7e25fbd6d2 (diff) |
fixed EXT-5693 “llDialog window appears out of viewport if UI scale > 1.0”,
corrected calculation of allowed floater rect in docked state;
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llscriptfloater.cpp')
-rw-r--r-- | indra/newview/llscriptfloater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llscriptfloater.cpp b/indra/newview/llscriptfloater.cpp index 32fd42aded..eb71cc52c8 100644 --- a/indra/newview/llscriptfloater.cpp +++ b/indra/newview/llscriptfloater.cpp @@ -135,7 +135,7 @@ void LLScriptFloater::setNotificationId(const LLUUID& id) void LLScriptFloater::getAllowedRect(LLRect& rect) { - rect = gViewerWindow->getWorldViewRectRaw(); + rect = gViewerWindow->getWorldViewRectScaled(); } void LLScriptFloater::createForm(const LLUUID& notification_id) |