ejbills / DockDoor

Window peeking for macOS
MIT License
294 stars 8 forks source link

Feat: add full-screen toggle button to preview window #45

Closed ShlomoCode closed 3 days ago

ShlomoCode commented 3 days ago

Currently we don't support windows in full screen so there is no need for a "toggle", but in the future we will, so I built it as a toggle and not as "enterFullScreen"

SF Symbols doesn't seem to include the exact full screen icon that apple uses, but it's very similar. I checked in alt-tab-macos and it uses a custom drawing, which I'm not sure if the different license (GPL-3.0 vs MIT) allows us to copy.

Demo:

CleanShot 2024-07-01 at 10 43 56@2x

https://github.com/ejbills/DockDoor/assets/78599753/25654e49-080a-4bad-af49-b6a22109c805