\
Matches functionality in Apple Maps. Discovered while discussing issue #1509\
\
Tested that pinch to zoom still work in iPad Simulator
Signed-off-by: eisa01 <eisa01@gmail.com>
When you press shift on macOS, the normal scroll wheel action on a mouse is changed to horizontal scroll instead of vertical
That meant this check never entered, and since translation.y = 0 you always zoom out
Signed-off-by: eisa01 <eisa01@gmail.com>
1. add an new screen (layout)
2. add TR icon for the bottom tabbar
3. share current location from the TR PP
4. refactor TR manager to properly handle state updates and pass them to the LiveActivityManager and PlacePage
5. add init/update with TrackInfo/EleInfo methods to the PlacePageData and PlacePagePreviewData to update the PP state
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
The old implementation was rigidly tightened to the place page top bound that breaks the side buttons (zoom, location) hiding/showing logic when the PP is big.
Now the side buttons follow the PP top edge with animation and disappear animated when they out of bounds.
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>