Skip to content

Commit

Permalink
fix(display): reduce stickiness to east/west snap
Browse files Browse the repository at this point in the history
  • Loading branch information
mmstick committed Feb 15, 2024
1 parent 5bd6ca7 commit 82ee8a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/pages/display/arrangement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 82ee8a6

Please sign in to comment.