use normal mouse speed for the color wheel unless shift is pressed.
authorCampbell Barton <ideasman42@gmail.com>
Tue, 6 Jul 2010 16:40:56 +0000 (16:40 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 6 Jul 2010 16:40:56 +0000 (16:40 +0000)
source/blender/editors/interface/interface_handlers.c

index a19113d4b274b1cda19d8a9e897209cdcbfb2078..c8eefac43f90ea7d448be9fc87c7f674ffe93c07 100644 (file)
@@ -3066,7 +3066,7 @@ static int ui_numedit_but_HSVCIRCLE(uiBut *but, uiHandleButtonData *data, int mx
        }
 
        if(U.uiflag & USER_CONTINUOUS_MOUSE) {
-               float fac= shift ? 0.02 : 0.1;
+               float fac= shift ? 0.05 : 1.0f;
                /* slow down the mouse, this is fairly picky */
                mx = (data->dragstartx*(1.0f-fac) + mx*fac);
                my = (data->dragstarty*(1.0f-fac) + my*fac);