flutter_desktop: get double click time, win

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2022-11-02 11:32:30 +08:00
parent 5b413bfde2
commit e229324021
7 changed files with 24 additions and 8 deletions

View File

@@ -804,8 +804,8 @@ pub fn main_is_root() -> bool {
is_root()
}
pub fn main_is_release() -> bool {
is_release()
pub fn get_double_click_time() -> SyncReturn<i32> {
SyncReturn(crate::platform::get_double_click_time() as _)
}
pub fn main_start_dbus_server() {