diff options
author | Dave SIMmONs <simon@lindenlab.com> | 2011-03-15 09:10:39 -0700 |
---|---|---|
committer | Dave SIMmONs <simon@lindenlab.com> | 2011-03-15 09:10:39 -0700 |
commit | 57ac771b154d7722e4774b40a607a11f3286f472 (patch) | |
tree | 20a555064cedcbdd6bbea3dbeeb866f95601ba19 /indra/llui/lldockcontrol.cpp | |
parent | 18ae6c639e58c4c996d4c3b2a4b34ef41deab970 (diff) | |
parent | bc0833d5db9e887f72ea6e7a630781203ad6ad77 (diff) |
Merge
Diffstat (limited to 'indra/llui/lldockcontrol.cpp')
-rw-r--r-- | indra/llui/lldockcontrol.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llui/lldockcontrol.cpp b/indra/llui/lldockcontrol.cpp index f6f5a0beb3..5ed2c27160 100644 --- a/indra/llui/lldockcontrol.cpp +++ b/indra/llui/lldockcontrol.cpp @@ -160,8 +160,10 @@ bool LLDockControl::isDockVisible() case TOP: { // check is dock inside parent rect + // assume that parent for all dockable flaoters + // is the root view LLRect dockParentRect = - mDockWidget->getParent()->calcScreenRect(); + mDockWidget->getRootView()->calcScreenRect(); if (dockRect.mRight <= dockParentRect.mLeft || dockRect.mLeft >= dockParentRect.mRight) { |