aboutsummaryrefslogtreecommitdiff
path: root/Map/Data/MapDocument.swift
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-07-09 08:34:19 +0200
committerRuben Beltran del Rio <git@r.bdr.sh>2025-07-09 08:34:19 +0200
commit1ec7f2c6deb64f5b13b32fae2bf74ae2d8aaaabb (patch)
tree47b6addedf0bdb18d35774e9b027d07074929d4a /Map/Data/MapDocument.swift
parent6926feead1a7fadb7f5f974996bef8c30b3bfdbe (diff)
Account for CRLF/CR/LF. Lex note text. Use Wmap Parser for renderer.
Diffstat (limited to 'Map/Data/MapDocument.swift')
-rw-r--r--Map/Data/MapDocument.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Map/Data/MapDocument.swift b/Map/Data/MapDocument.swift
index 95fcfde..6cc84d7 100644
--- a/Map/Data/MapDocument.swift
+++ b/Map/Data/MapDocument.swift
@@ -69,7 +69,7 @@ struct MapDocument: FileDocument {
@MainActor
func exportAsImage(withEvolution selectedEvolution: StageType) -> NSImage? {
let renderView = MapRenderView(
- document: .constant(self),
+ entities: self.parsed,
evolution: .constant(selectedEvolution))
let renderer = ImageRenderer(content: renderView)