summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorRichard Nelson <richard@lindenlab.com>2011-10-10 15:31:25 -0700
committerRichard Nelson <richard@lindenlab.com>2011-10-10 15:31:25 -0700
commit0526d673093b2279777dc8be5aae9cc33cb1c822 (patch)
tree5224ed6f178d237a8b5edf6ce20f7ddb06da4d5f /indra/llui
parentda3c7da7a585ea14a5a494ac7f36e7714bc86ab8 (diff)
EXP-1312 FIX Floaters should appear in region not covered by toolbars
moved floater snap region to middle of toolbars and constrained floaters to that snap region also made toybox floater pass all drag and drop events along to toolbar
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llfloater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp
index cc49238a0b..cba14e21c3 100644
--- a/indra/llui/llfloater.cpp
+++ b/indra/llui/llfloater.cpp
@@ -2549,7 +2549,7 @@ void LLFloaterView::adjustToFitScreen(LLFloater* floater, BOOL allow_partial_out
}
// move window fully onscreen
- if (floater->translateIntoRect( getLocalRect(), allow_partial_outside ))
+ if (floater->translateIntoRect( getSnapRect(), allow_partial_outside ))
{
floater->clearSnapTarget();
}