diff options
author | simon@lindenlab.com <simon@lindenlab.com> | 2011-07-07 17:46:18 -0700 |
---|---|---|
committer | simon@lindenlab.com <simon@lindenlab.com> | 2011-07-07 17:46:18 -0700 |
commit | 1cf5ce3a436297e0ac2293eacae7428f231fe1ec (patch) | |
tree | 4a074ab4bebd09ff53df696954f0f091cd48327c /indra/newview/lltexturectrl.cpp | |
parent | f5bd2109c27b098dd73a9578f1f032b6ff9e4c2d (diff) | |
parent | 66dcc72870b19c6ada65a643ca33c779c9c9989b (diff) |
Merge latest from viewer trunk
Diffstat (limited to 'indra/newview/lltexturectrl.cpp')
-rw-r--r-- | indra/newview/lltexturectrl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/lltexturectrl.cpp b/indra/newview/lltexturectrl.cpp index 1023a4339b..5b76537804 100644 --- a/indra/newview/lltexturectrl.cpp +++ b/indra/newview/lltexturectrl.cpp @@ -1093,7 +1093,7 @@ public: BOOL LLTextureCtrl::handleHover(S32 x, S32 y, MASK mask) { - getWindow()->setCursor(UI_CURSOR_HAND); + getWindow()->setCursor(mBorder->parentPointInView(x,y) ? UI_CURSOR_HAND : UI_CURSOR_ARROW); return TRUE; } @@ -1102,7 +1102,7 @@ BOOL LLTextureCtrl::handleMouseDown(S32 x, S32 y, MASK mask) { BOOL handled = LLUICtrl::handleMouseDown( x, y , mask ); - if( !handled ) + if (!handled && mBorder->parentPointInView(x, y)) { showPicker(FALSE); //grab textures first... |