summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2010-03-02 11:53:00 +0200
committerAlexei Arabadji <aarabadji@productengine.com>2010-03-02 11:53:00 +0200
commite88b6d9c7a5c17b88fb3e9efc95b540e6cefc12d (patch)
treea79402842b906c14fb81ef4cd14d185847dfbace /indra
parentbbe2daad55777974f10f98b8a8023c7e25fbd6d2 (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')
-rw-r--r--indra/newview/llscriptfloater.cpp2
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)