STORM-1920 / STORM-2013: Fixed uniform scaling highlighting at half values.
Re-utilized the technique Richard put in the corner drag code.meow-7.2.2
parent
413d29d3ee
commit
befc0efde9
|
|
@ -1139,7 +1139,7 @@ void LLManipScale::dragFace( S32 x, S32 y )
|
|||
drag_dist - max_drag_dist,
|
||||
drag_dist - min_drag_dist);
|
||||
|
||||
mScaleSnappedValue = drag_dist - relative_snap_dist;
|
||||
mScaleSnappedValue = (drag_dist - relative_snap_dist) / (mScaleSnapUnit1 * 2.f);
|
||||
|
||||
if (llabs(relative_snap_dist) < snap_dist)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue