Folders can't be opened as files. When dropping a directory onto the window miniquad panics here:
|
d.dropped_files.bytes.push(std::fs::read(&path).unwrap()); |
I could maybe submit a PR. Which would you prefer, making file content optional (seems to be in line with macroquad) or filtering out paths that cannot be read?
Folders can't be opened as files. When dropping a directory onto the window miniquad panics here:
miniquad/src/native/windows.rs
Line 758 in 4842833
I could maybe submit a PR. Which would you prefer, making file content optional (seems to be in line with macroquad) or filtering out paths that cannot be read?