forked from 1b-agent/opencadstudio-upstream
Merge pull request #1691 from YsDirector/pr/d6-save-verified-fingerprint
Refresh fingerprints after verified saves # Conflicts: # src/app/automation.rs
This commit is contained in:
commit
2e79430930
3 files changed
+164
-1
No files matched your search
@@ -134,7 +134,7 @@ fn plot_render_mode_override(
|
||||
}
|
||||
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
fn native_paths_match(left: &std::path::Path, right: &std::path::Path) -> bool {
|
||||
pub(in crate::app) fn native_paths_match(left: &std::path::Path, right: &std::path::Path) -> bool {
|
||||
match (std::fs::canonicalize(left), std::fs::canonicalize(right)) {
|
||||
(Ok(left), Ok(right)) => left == right,
|
||||
_ => left == right,
|
||||
|
||||
@@ -98,6 +98,8 @@ mod dialog;
|
||||
mod dynamic;
|
||||
mod file;
|
||||
pub(in crate::app) use file::background_task;
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
pub(in crate::app) use file::native_paths_match;
|
||||
mod page_setup_import;
|
||||
mod style;
|
||||
pub(in crate::app) mod util;
|
||||
|
||||
Reference in new issue
Block a user