fix(display): reduce stickiness to east/west snap

This commit is contained in:
Michael Aaron Murphy 2024-02-15 15:56:47 +01:00 committed by Michael Murphy
parent 5bd6ca77c9
commit 82ee8a693c

View file

@ -448,8 +448,8 @@ fn update_dragged_region(
let center = dragged_region.center();
let eastward = distance(east_point(&other_region), center) * 1.5;
let westward = distance(west_point(&other_region), center) * 1.5;
let eastward = distance(east_point(&other_region), center) * 1.25;
let westward = distance(west_point(&other_region), center) * 1.25;
let northward = distance(north_point(&other_region), center);
let southward = distance(south_point(&other_region), center);