Skip to content

Commit

Permalink
Merge pull request #126 from TheHighestBit/master
Browse files Browse the repository at this point in the history
Added file type descriptions to the properties popup + window resizing fix for Windows
  • Loading branch information
RickyDane authored Aug 16, 2024
2 parents 5d9303a + 458cc4c commit 9309acd
Show file tree
Hide file tree
Showing 6 changed files with 3,196 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ worker.js
.localized
.DS_Store
.vscode
target/
target/
.idea
2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# cargo-features = ["profile-rustflags"]
[package]
name = "CoDriver"
version = "0.4.81"
version = "0.4.82"
description = "A simple file explorer"
authors = ["Ricky Dane Perlick"]
license = "none"
Expand Down
6 changes: 6 additions & 0 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ fn main() {
let win = e.window();
win.position_traffic_lights(20.0, 25.0);
}
// Fixes sluggish window resizing on Windows
// See https://github.com/tauri-apps/tauri/issues/6322#issuecomment-1448141495
#[cfg(target_os = "windows")]
if let WindowEvent::Resized(..) = e.event() {
std::thread::sleep(std::time::Duration::from_nanos(1));
}
})
.invoke_handler(tauri::generate_handler![
list_dirs,
Expand Down
Loading

0 comments on commit 9309acd

Please sign in to comment.