tmf: Bug 488806: Mouse scroll with count of zero not handled correctly
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.ui / src / org / eclipse / tracecompass / tmf / ui / widgets / timegraph / widgets / TimeGraphControl.java
index 114ee0271f94bda182338e4d5306203e8b5c8fc3..e02e3058ff37fcee25ca1fd11018994e999d7b10 100644 (file)
@@ -2697,7 +2697,7 @@ public class TimeGraphControl extends TimeGraphBaseControl
 
     @Override
     public void mouseScrolled(MouseEvent e) {
-        if (fDragState != DRAG_NONE) {
+        if (fDragState != DRAG_NONE || e.count == 0) {
             return;
         }
         boolean horizontalZoom = false;
This page took 0.0267230000000001 seconds and 5 git commands to generate.