1
0
Fork 0
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:
Kirill Chibisov 2023-07-13 05:31:26 +00:00 committed by GitHub
parent da7d7c00e4
commit 04ea367e3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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.
/// ///