Skip to content

Commit

Permalink
Update SnapAttract Logic.
Browse files Browse the repository at this point in the history
  Split the snap attract logic into three functions, one for Monitor,
  one for Windows, and one for Grid. This is to allow calling the functions
  in different orders to control which object takes priority when determining
  what to snap to.

  First checks for Monitor edges and window edges and snaps to closest.
  If no monitor or window edge found, snap to SnapGrid.

  Update EdgeMoveResistance to use the same function for Monitor snapping.

  Fixes #631.
  • Loading branch information
somiaj committed Nov 21, 2021
1 parent 3eadfa1 commit 13bd734
Showing 1 changed file with 231 additions and 268 deletions.
Loading

0 comments on commit 13bd734

Please sign in to comment.