drop the frame timing probe, keep click highlights in frame

This commit is contained in:
2026-09-21 00:32:08 +03:00
parent 1affbc63ff
commit 95d168d5d8
4 changed files with 90 additions and 54 deletions
+2 -4
View File
@@ -80,10 +80,8 @@ fn find_fxc() -> Option<PathBuf> {
continue;
}
let fxc = entry.path().join("x64").join("fxc.exe");
if fxc.is_file() {
if best.as_ref().map_or(true, |(b, _)| name.as_str() > b.as_str()) {
best = Some((name, fxc));
}
if fxc.is_file() && best.as_ref().is_none_or(|(b, _)| name.as_str() > b.as_str()) {
best = Some((name, fxc));
}
}
best.map(|(_, p)| p)