-
Enhancement
-
Resolution: Fixed
-
P3
-
fx2.0
Some applications want to perform a different action when mouse is dragged and when it is clicked. In such cases, click should still use hysteresis (AKA Smudge Factor). To make this easy, mouse event should have a hysteresisFailed flag that will tell whether mouse did move far away from the point where it was pressed or not (will be true if it did).
The application can then easily use mouse dragged handler with "if (hysteresisFailed=true)" and mouse clicked handler with "if (hysteresisFailed=false)".
The threshold distance would reflect native system settings (we are using it already internally for double-click generation).
The application can then easily use mouse dragged handler with "if (hysteresisFailed=true)" and mouse clicked handler with "if (hysteresisFailed=false)".
The threshold distance would reflect native system settings (we are using it already internally for double-click generation).