mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-01-21 22:54:26 +01:00
The "resize to fit" feature (MOD+w or double-click on black borders) computed the "optimal size" using the same function computing the initial window size on start. However, on "resize to fit", only the black borders must be removed (the content size must be preserved), so the display bounds must not be considered.