Add double click handling
This commit is contained in:
parent
3198eb6c6d
commit
f03c0f6e63
6 changed files with 115 additions and 10 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue