aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llui/llfloater.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/linden/indra/llui/llfloater.cpp b/linden/indra/llui/llfloater.cpp
index 2033beb..f6451a1 100644
--- a/linden/indra/llui/llfloater.cpp
+++ b/linden/indra/llui/llfloater.cpp
@@ -2118,14 +2118,15 @@ void LLFloaterView::focusFrontFloater()
2118 2118
2119void LLFloaterView::getMinimizePosition(S32 *left, S32 *bottom) 2119void LLFloaterView::getMinimizePosition(S32 *left, S32 *bottom)
2120{ 2120{
2121 S32 col = 0;
2121 LLRect snap_rect_local = getLocalSnapRect(); 2122 LLRect snap_rect_local = getLocalSnapRect();
2122 for(S32 col = snap_rect_local.mLeft; 2123 for(S32 row = snap_rect_local.mBottom;
2123 col < snap_rect_local.getWidth() - MINIMIZED_WIDTH; 2124 row < snap_rect_local.getHeight() - LLFLOATER_HEADER_SIZE;
2124 col += MINIMIZED_WIDTH) 2125 row += LLFLOATER_HEADER_SIZE ) //loop rows
2125 { 2126 {
2126 for(S32 row = snap_rect_local.mTop - LLFLOATER_HEADER_SIZE; 2127 for(col = snap_rect_local.mLeft;
2127 row > LLFLOATER_HEADER_SIZE; 2128 col < snap_rect_local.getWidth() - MINIMIZED_WIDTH;
2128 row -= LLFLOATER_HEADER_SIZE) //loop rows 2129 col += MINIMIZED_WIDTH)
2129 { 2130 {
2130 bool foundGap = TRUE; 2131 bool foundGap = TRUE;
2131 for(child_list_const_iter_t child_it = getChildList()->begin(); 2132 for(child_list_const_iter_t child_it = getChildList()->begin();