Merge pull request #1347 from helenkwok/fix/wasm32-main-build

Fix wasm32 build: gate the font download and XREF open call sites
This commit is contained in:
Hakan Seven committed 2026-09-18 18:52:37 +03:00
commit 4905d99e51
2 files changed
+19

No files matched your search

+1
View File
@@ -2489,6 +2489,7 @@ impl OpenCADStudio {
if is_dwg {
return self.update(Message::OpenRecent(std::path::PathBuf::from(found)));
} else {
#[cfg(not(target_arch = "wasm32"))]
let _ = open::that_detached(&found);
}
} else {