diff options
Diffstat (limited to 'Map/Presentation/MapEditor.swift')
| -rw-r--r-- | Map/Presentation/MapEditor.swift | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Map/Presentation/MapEditor.swift b/Map/Presentation/MapEditor.swift index 5cda8f9..1e25ce8 100644 --- a/Map/Presentation/MapEditor.swift +++ b/Map/Presentation/MapEditor.swift @@ -102,8 +102,8 @@ struct MapEditor: View { MapRenderView( document: $document, evolution: $selectedEvolution, onDragVertex: onDragVertex ).scaleEffect(zoom, anchor: .center).frame( - width: (Dimensions.mapSize.width + 2 * Dimensions.mapPadding) * zoom, - height: (Dimensions.mapSize.height + 2 * Dimensions.mapPadding) * zoom) + width: (Dimensions.Map.size.width + 2 * Dimensions.Map.padding) * zoom, + height: (Dimensions.Map.size.height + 2 * Dimensions.Map.padding) * zoom) }.background(Color.UI.background) .gesture( MagnificationGesture() @@ -125,16 +125,16 @@ struct MapEditor: View { value: $zoom, in: zoomRange, step: 0.1, label: { Text(formatZoom(zoom)) - .font(.Theme.smallControl) + .font(.Theme.SmallControl.regular) }, minimumValueLabel: { Image(systemName: "minus.magnifyingglass") - .font(.Theme.smallControl) + .font(.Theme.SmallControl.regular) .help("Zoom Out (⌘-)") }, maximumValueLabel: { Image(systemName: "plus.magnifyingglass") - .font(.Theme.smallControl) + .font(.Theme.SmallControl.regular) .help("Zoom In (⌘+)") } ).frame(width: 200).padding(.trailing, 10.0) |