elementary / switchboard-plug-display

Switchboard Displays Plug
https://elementary.io
GNU General Public License v3.0
14 stars 18 forks source link

(5/5) Multiple Issues: Introduce magnetic edge center #184

Closed felix-andreas closed 4 years ago

felix-andreas commented 5 years ago

(5/5) Split up #177 in different PRs:

Needs to be merged after #183

Changes in this PR:

align-monitors Can be disabled by pressing Ctrl

felix-andreas commented 5 years ago

Corner to corner snapping is not quite accurate:

This is intentional as diagonal monitors are not allowed. Maybe I could increase the offset to make it more obvious that it is the intended behavior?

I have also thought about a minimal offset of 1px. But this would make it difficult to move the cursor between displays. So I think it is reasonable to use minimal offset of 50px.

felix-andreas commented 5 years ago

I wanted to ask - as completely rewrote the widget-snapping, gap-detection, intersection-detection and widget-alignment algorithms - if it is okay if I would add myself to the Authored by list at the top of the DisplaysOverlay.vala file?