Skip to content

Add "Closest to Zone Center" option and implement zone selection logic#184

Open
Schllek wants to merge 1 commit intogerritdevriese:mainfrom
Schllek:Zone-overlay-cursor-closest-to-zone-center-option
Open

Add "Closest to Zone Center" option and implement zone selection logic#184
Schllek wants to merge 1 commit intogerritdevriese:mainfrom
Schllek:Zone-overlay-cursor-closest-to-zone-center-option

Conversation

@Schllek
Copy link

@Schllek Schllek commented Jan 26, 2026

I implemented this feature because it is available in Microsoft's PowerToys. I did not test any other Overlays but the problem I had with the current implementation is that windows can not be snapped to zones that are completely overlapped by other zones, for example zone { "x": 25, "y": 0, "height": 100, "width": 50 } could not be snapped to because of zones { "x": 25, "y": 0, "height": 100, "width": 25 }, { "x": 50, "y": 0, "height": 100, "width": 25 }

@Schllek Schllek marked this pull request as ready for review January 26, 2026 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant