File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
MCMaps/Red Window/Views/Map Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -63,11 +63,21 @@ struct RedWindowMapView: View {
6363 IntegrationFetchStateView ( state: state)
6464 . padding ( 8 )
6565 . opacity ( file. integrations. enabled ? 1 : 0 )
66+ #if os(macOS)
67+ . padding( . bottom, 4 )
68+ #endif
6669 }
6770 . overlay ( alignment: . bottomTrailing) {
6871 LocationBadge ( location: env. mapCenterCoordinate)
6972 . environment ( \. contentTransitionAddsDrawingGroup, true )
7073 . labelStyle ( . titleAndIcon)
74+ #if os(macOS)
75+ . padding( . bottom, 4 )
76+ // NOTE(alicerunsonfedora): This applies the zoom control's width (36) with some extra padding,
77+ // but it's unclear how this will change over time, let alone whether this is the right way to
78+ // offset the badge to prevent obstructions (see ALD-20).
79+ . padding ( . trailing, 48 )
80+ #endif
7181 }
7282 . onChange ( of: env. currentModalRoute, initial: false ) { _, newValue in
7383 guard let newValue else { return }
You can’t perform that action at this time.
0 commit comments