Skip to content

Commit

Permalink
gui: decrease tooltip polling rate
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenesvk committed May 16, 2024
1 parent d4b13b1 commit c2a87e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/win.rs
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ impl SystemTray {
error!("internal: tt2m_channel disconnected, no more 🖰 pointer tracking")
}
}
let duration = 5;
let duration = 16;
let poll_time = Duration::from_millis(duration);
let ticks = (app_data.tooltip_duration as f64 / duration as f64).round() as u16;
debug!(
Expand Down

0 comments on commit c2a87e0

Please sign in to comment.