diff options
author | maksymsproductengine <maksymsproductengine@lindenlab.com> | 2013-04-11 00:18:00 +0300 |
---|---|---|
committer | maksymsproductengine <maksymsproductengine@lindenlab.com> | 2013-04-11 00:18:00 +0300 |
commit | c59aeef9664a1d9b6357a66a6eff0eab6d24b3eb (patch) | |
tree | fa420d33769aa228ad1baed285028470d5b12be3 /indra/llui/llfloater.cpp | |
parent | 2aca9b39d467f48984c246d93e3393b9851929db (diff) |
CHUI-921 FIXED Default position of open floaters starts at left edge of viewer behind toolbar
Diffstat (limited to 'indra/llui/llfloater.cpp')
-rw-r--r-- | indra/llui/llfloater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp index 09e27a264a..5873df5169 100644 --- a/indra/llui/llfloater.cpp +++ b/indra/llui/llfloater.cpp @@ -2788,7 +2788,7 @@ void LLFloaterView::adjustToFitScreen(LLFloater* floater, BOOL allow_partial_out } // move window fully onscreen - if (floater->translateIntoRect( getSnapRect(), allow_partial_outside ? FLOATER_MIN_VISIBLE_PIXELS : S32_MAX )) + if (floater->translateIntoRect( gFloaterView->getRect(), allow_partial_outside ? FLOATER_MIN_VISIBLE_PIXELS : S32_MAX )) { floater->clearSnapTarget(); } |