mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-15 03:37:04 -04:00
Merge pull request #443 from Aavirash/fix/shape-drag-preview
# Conflicts: # crates/ui-egui/src/frames.rs # crates/ui-egui/src/panels/viewer.rs
This commit is contained in:
6 files changed
+380
-43
No files matched your search
@@ -28,7 +28,9 @@ fn ok_json(args: &[&str]) -> Value {
|
||||
fn tmp(name: &str) -> PathBuf {
|
||||
let d = std::env::temp_dir().join(format!("ec-cli-test-{}", std::process::id()));
|
||||
std::fs::create_dir_all(&d).unwrap();
|
||||
d.join(name)
|
||||
// macOS's `/var` is a symlink to `/private/var`: a child process resolves its working
|
||||
// directory through `current_dir()`, which is canonical, so compare canonical paths.
|
||||
std::fs::canonicalize(&d).unwrap_or(d).join(name)
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user