Skip to content

Commit

Permalink
Update and cleanup SnapAttract.
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. Clean up SnapAttract code.

  Logic now 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 authored and ThomasAdam committed Nov 22, 2021
1 parent d789406 commit cf885cc
Showing 1 changed file with 235 additions and 268 deletions.
Loading

0 comments on commit cf885cc

Please sign in to comment.