diff options
author | McCabe Maxsted | 2010-05-12 05:50:23 -0700 |
---|---|---|
committer | Jacek Antonelli | 2010-06-19 02:03:56 -0500 |
commit | fa7cebaacc36c2c56b95ad94a3480333c64ad4ac (patch) | |
tree | e6f3ff8c5686e4b6fec2967bfdf0b8ec19387586 | |
parent | Changed the default minimize position to the top left so it doesn't block cha... (diff) | |
download | meta-impy-fa7cebaacc36c2c56b95ad94a3480333c64ad4ac.zip meta-impy-fa7cebaacc36c2c56b95ad94a3480333c64ad4ac.tar.gz meta-impy-fa7cebaacc36c2c56b95ad94a3480333c64ad4ac.tar.bz2 meta-impy-fa7cebaacc36c2c56b95ad94a3480333c64ad4ac.tar.xz |
Revert "Changed the default minimize position to the top left..."
Reverted because it ended up getting in the way of people's minimaps.
Commit retained for posterity.
This reverts commit 64e994a132b39e8ed994f0d5cf0914bb44d92507.
-rw-r--r-- | linden/indra/llui/llfloater.cpp | 13 |
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 | ||
2119 | void LLFloaterView::getMinimizePosition(S32 *left, S32 *bottom) | 2119 | void 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(); |