Fix cursorZoom being broken, my bad, forgot to add the increment line

This commit is contained in:
Inusaito Sayori
2014-06-18 20:35:03 -04:00
parent cd36a1fe16
commit b4ab9a4e57

View File

@@ -568,6 +568,7 @@ void LLViewerJoystick::cursorZoom(F32 inc)
if (!is_approx_zero(inc))
{
static U8 count = 0;
++count;
if (count == 3) // Slow down the zoom in/out.
{
gViewerWindow->handleScrollWheel(inc > F_APPROXIMATELY_ZERO ? 1 : -1);