diff options
author | Tofu Buzzard <no-email> | 2011-03-16 22:44:29 +0000 |
---|---|---|
committer | Tofu Buzzard <no-email> | 2011-03-16 22:44:29 +0000 |
commit | 0671b6abc5acee0e7df879f9a10506aa42c2169c (patch) | |
tree | baf736cc9a5f9de8fb1fa9f9bf95be0dacc7b72f /indra/llui/lldockcontrol.cpp | |
parent | 1dffa1c78cd623fe8c930e128312260647bf91e7 (diff) | |
parent | 752b3fdbe044069635a2c6cd000c481561985954 (diff) |
merge
Diffstat (limited to 'indra/llui/lldockcontrol.cpp')
-rw-r--r-- | indra/llui/lldockcontrol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lldockcontrol.cpp b/indra/llui/lldockcontrol.cpp index 5ed2c27160..b1c27126d9 100644 --- a/indra/llui/lldockcontrol.cpp +++ b/indra/llui/lldockcontrol.cpp @@ -299,7 +299,7 @@ void LLDockControl::moveDockable() break; } - S32 max_available_height = rootRect.getHeight() - mDockTongueY - mDockTongue->getHeight(); + S32 max_available_height = rootRect.getHeight() - (rootRect.mBottom - mDockTongueY) - mDockTongue->getHeight(); // A floater should be shrunk so it doesn't cover a part of its docking tongue and // there is a space between a dockable floater and a control to which it is docked. |