ejbills / DockDoor

Window peeking for macOS
https://dockdoor.net
GNU General Public License v3.0
1.01k stars 27 forks source link

Bug: Oversized preview with small windows #110

Open illavoluntas opened 2 months ago

illavoluntas commented 2 months ago

With small windows the preview is way oversized (in the video, Terminal is oversized compared to Xcode).

https://github.com/ejbills/DockDoor/assets/174935274/1d2555dd-14ed-458b-bc96-c63dc77f8946

ejbills commented 3 weeks ago

Duplicate https://github.com/ejbills/DockDoor/issues/36

ShlomoCode commented 2 weeks ago

Duplicate #36

I don't think so, Terminal is a valid window, the problem is the proportions

illavoluntas commented 1 week ago

@ShlomoCode @ejbills I think the width has to be limited in addition to the height. This way, you have smaller previews with transparent space on top and bottom of the preview. Well, I don't know if I made myself clear, please ask if it wasn't.