diff options
Diffstat (limited to 'indra/newview/llfloatercolorpicker.cpp')
-rw-r--r-- | indra/newview/llfloatercolorpicker.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llfloatercolorpicker.cpp b/indra/newview/llfloatercolorpicker.cpp index d02fd072e2..4218c4c65a 100644 --- a/indra/newview/llfloatercolorpicker.cpp +++ b/indra/newview/llfloatercolorpicker.cpp @@ -913,7 +913,7 @@ handleMouseDown ( S32 x, S32 y, MASK mask ) if ( rgbAreaRect.pointInRect ( x, y ) ) { - gViewerWindow->setMouseCapture(this); + gFocusMgr.setMouseCapture(this); // mouse button down setMouseDownInHueRegion ( TRUE ); @@ -932,7 +932,7 @@ handleMouseDown ( S32 x, S32 y, MASK mask ) if ( lumAreaRect.pointInRect ( x, y ) ) { - gViewerWindow->setMouseCapture(this); + gFocusMgr.setMouseCapture(this); // mouse button down setMouseDownInLumRegion ( TRUE ); @@ -1148,7 +1148,7 @@ handleMouseUp ( S32 x, S32 y, MASK mask ) if (hasMouseCapture()) { - gViewerWindow->setMouseCapture(NULL); + gFocusMgr.setMouseCapture(NULL); } // dispatch to base class for the rest of things |