Add double click handling

This commit is contained in:
Mikayla 2023-12-11 13:17:42 -08:00
parent 3198eb6c6d
commit f03c0f6e63
No known key found for this signature in database
6 changed files with 115 additions and 10 deletions

View file

@ -11,6 +11,7 @@ use std::{
path::PathBuf,
rc::{Rc, Weak},
sync::Arc,
time::Duration,
};
pub struct TestPlatform {
@ -272,4 +273,8 @@ impl Platform for TestPlatform {
fn delete_credentials(&self, _url: &str) -> Result<()> {
Ok(())
}
fn double_click_interval(&self) -> std::time::Duration {
Duration::from_millis(500)
}
}