mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[ios] Center location more during navigation in CarPlay
Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
committed by
Yannik Bloscheck
parent
e9d3b56456
commit
d7ae2089c6
@@ -55,7 +55,7 @@ final class CarPlayService: NSObject {
|
|||||||
router.restoreTripPreviewOnCarplay(beforeRootTemplateDidAppear: true)
|
router.restoreTripPreviewOnCarplay(beforeRootTemplateDidAppear: true)
|
||||||
}
|
}
|
||||||
updateContentStyle(configuration.contentStyle)
|
updateContentStyle(configuration.contentStyle)
|
||||||
FrameworkHelper.updatePositionArrowOffset(false, offset: 5)
|
FrameworkHelper.updatePositionArrowOffset(false, offset: (Int32(window.height * window.screen.scale)/3))
|
||||||
|
|
||||||
CarPlayWindowScaleAdjuster.updateAppearance(
|
CarPlayWindowScaleAdjuster.updateAppearance(
|
||||||
fromWindow: MapsAppDelegate.theApp().window,
|
fromWindow: MapsAppDelegate.theApp().window,
|
||||||
|
|||||||
Reference in New Issue
Block a user