Skip to content

gestures: prevent deciding on a direction too eary

Xaver Hugl requested to merge work/fix-touchscreen-gestures into master

Doing that breaks when the input device has a very high resolution, which is the case with touchscreens for example - the direction was almost always locked to be horizontal, even when you kept your fingers effectively still.

The minimum delta of 5 was picked completely arbitrarily and can be changed if necessary, but as it doesn't interfere with gestures it should be fine.

@ericedlund

Merge request reports