fix(display): reduce stickiness to east/west snap
This commit is contained in:
parent
5bd6ca77c9
commit
82ee8a693c
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue