summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermap.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-05-19 10:04:23 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-05-19 10:04:23 +0100
commitb430d1a9ceaf18f12cbaf0008a5d5454796741ea (patch)
treefe1420806e453a14a63b4f16ad2d566a8c9a0d1a /indra/newview/llfloatermap.cpp
parent478c28539b64925526e79844c829cdd012c0b8ec (diff)
parentb550bb0f09197c35b80d18d540761a7831c3e89b (diff)
merge from viewer-public
Diffstat (limited to 'indra/newview/llfloatermap.cpp')
-rw-r--r--indra/newview/llfloatermap.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llfloatermap.cpp b/indra/newview/llfloatermap.cpp
index 5677899dd9..725fc17136 100644
--- a/indra/newview/llfloatermap.cpp
+++ b/indra/newview/llfloatermap.cpp
@@ -232,6 +232,17 @@ void LLFloaterMap::onFocusLost()
void LLFloaterMap::reshape(S32 width, S32 height, BOOL called_from_parent)
{
LLFloater::reshape(width, height, called_from_parent);
+
+ //fix for ext-7112
+ //by default ctrl can't overlap caption area
+ if(mMap)
+ {
+ LLRect map_rect;
+ map_rect.setLeftTopAndSize( 0, getRect().getHeight(), width, height);
+ mMap->reshape( width, height, 1);
+ mMap->setRect(map_rect);
+ }
+
updateMinorDirections();
}