TodePond / ScreenPond

screens in screens in screens
https://screenpond.cool
MIT License
125 stars 6 forks source link

Screen placement should be biased to the current screen #26

Closed TodePond closed 2 years ago

TodePond commented 2 years ago

screens should try hard to stay in their current screen!

this would allow for pop-out effects, but also allow you to take a screen in/out other screens. and it should also solve #25

So like, it should only change placement if it COMPLETELY leaves or enters, rather than being picky about not being entirely in its screen. The pickiness should be directed at the new screen, not the current screen.

I think this would also solve #23 because we wouldn't remove the screen (unless it fully escaped)

TodePond commented 2 years ago

done!

TodePond commented 2 years ago

It's too fussy sometimes - eg: sometimes it struggles to STAY in the current screen if there's something in the way of it - like a deeper screen getting in front of it

TodePond commented 2 years ago

Ok cool, I made it snap to parents (instead of looking deeper) when placing screens