mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
Raise double click threshold to 400ms
This should improve the situation with some touchpads. GTK4 is also using the same value.
This commit is contained in:
parent
da7d7c00e4
commit
04ea367e3b
2 changed files with 2 additions and 1 deletions
|
@ -32,6 +32,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
- Deprecated config option `mouse_bindings`, use `mouse.bindings`
|
- Deprecated config option `mouse_bindings`, use `mouse.bindings`
|
||||||
- The default colorscheme is now based on base16 classic dark
|
- The default colorscheme is now based on base16 classic dark
|
||||||
- IME popup now tries to not obscure the current cursor line
|
- IME popup now tries to not obscure the current cursor line
|
||||||
|
- The double click threshold was raised to `400ms`
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@ const TOUCH_SCROLL_FACTOR: f64 = 0.35;
|
||||||
const MAX_TAP_DISTANCE: f64 = 20.;
|
const MAX_TAP_DISTANCE: f64 = 20.;
|
||||||
|
|
||||||
/// Threshold used for double_click/triple_click.
|
/// Threshold used for double_click/triple_click.
|
||||||
const CLICK_THRESHOLD: Duration = Duration::from_millis(300);
|
const CLICK_THRESHOLD: Duration = Duration::from_millis(400);
|
||||||
|
|
||||||
/// Processes input from winit.
|
/// Processes input from winit.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue