Fix cursorZoom being broken, my bad, forgot to add the increment line
This commit is contained in:
@@ -568,6 +568,7 @@ void LLViewerJoystick::cursorZoom(F32 inc)
|
|||||||
if (!is_approx_zero(inc))
|
if (!is_approx_zero(inc))
|
||||||
{
|
{
|
||||||
static U8 count = 0;
|
static U8 count = 0;
|
||||||
|
++count;
|
||||||
if (count == 3) // Slow down the zoom in/out.
|
if (count == 3) // Slow down the zoom in/out.
|
||||||
{
|
{
|
||||||
gViewerWindow->handleScrollWheel(inc > F_APPROXIMATELY_ZERO ? 1 : -1);
|
gViewerWindow->handleScrollWheel(inc > F_APPROXIMATELY_ZERO ? 1 : -1);
|
||||||
|
|||||||
Reference in New Issue
Block a user