diff options
Diffstat (limited to 'linden/indra/newview/llvolumesliderctrl.cpp')
-rw-r--r-- | linden/indra/newview/llvolumesliderctrl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llvolumesliderctrl.cpp b/linden/indra/newview/llvolumesliderctrl.cpp index 760fa5c..54cfa30 100644 --- a/linden/indra/newview/llvolumesliderctrl.cpp +++ b/linden/indra/newview/llvolumesliderctrl.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2004-2007, Linden Research, Inc. | 5 | * Copyright (c) 2004-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -81,7 +82,7 @@ void LLVolumeSliderCtrl::draw() | |||
81 | outline_color, | 82 | outline_color, |
82 | FALSE); | 83 | FALSE); |
83 | 84 | ||
84 | if (gFocusMgr.getMouseCapture() == this) | 85 | if (hasMouseCapture()) |
85 | { | 86 | { |
86 | // Thumb | 87 | // Thumb |
87 | LLRect rect(mDragStartThumbRect); | 88 | LLRect rect(mDragStartThumbRect); |