mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
The updateVisibleViewPortToDefaultState was called from the `viewDidLayoutSubviews` when the VC is removed from the stack, updates the viewport unexpectedly and overwrite the correct viewport with CP screen size. It may break the viewport when switching to the phone. Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>