Commits

Christian Krebs committed 49effa6

Fix for DFL-3026, Mousewheel on slider breaks if distance is 0.

  • Participants
  • Parent commits f6b4cef

Comments (0)

Files changed (1)

src/ui-scripts/slider.js

       }
     }
 
+    if (isNaN(this._w_delta_x) || isNaN(this._w_delta_y))
+      return;
+
     this._w_count += event.wheelDelta > 0 ? 1 : -1;
     if (this._has_x)
     {