mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
When the app was not running and launched from the Carplay, the main_visualScale was initialized with CP scale (usually it is 2). Then, when the user switches to the phone this incorrect values can be used in `UpdateVisualScale`. The current screen's scale should be used instead in the `updateVisualScaleToMain` without intermediated values. Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>