Wayland: double click (#9608)
This PR builds off of an earlier version of https://github.com/zed-industries/zed/pull/9595, rearranges some of the logic, and removes an unused platform API. Release Notes: - N/A --------- Co-authored-by: apricotbucket28 <agustin.nicolas.marcos@outlook.com>
This commit is contained in:
parent
9b0949b6fb
commit
0b019282c3
9 changed files with 108 additions and 85 deletions
|
@ -584,11 +584,6 @@ impl AppContext {
|
|||
self.platform.path_for_auxiliary_executable(name)
|
||||
}
|
||||
|
||||
/// Returns the maximum duration in which a second mouse click must occur for an event to be a double-click event.
|
||||
pub fn double_click_interval(&self) -> Duration {
|
||||
self.platform.double_click_interval()
|
||||
}
|
||||
|
||||
/// Displays a platform modal for selecting paths.
|
||||
/// When one or more paths are selected, they'll be relayed asynchronously via the returned oneshot channel.
|
||||
/// If cancelled, a `None` will be relayed instead.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue