commit db6f02084d611ace079b673c9bbc5886d18b894a
parent 99646f8ff53c0af8eb721488d5eea3671f115885
Author: William Casarin <jb55@jb55.com>
Date: Wed, 16 Jul 2025 18:01:08 -0700
input: halve long press input duration
people were saying long press was too long
Fixes: https://github.com/damus-io/notedeck/issues/981
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/crates/notedeck_chrome/src/setup.rs b/crates/notedeck_chrome/src/setup.rs
@@ -45,6 +45,9 @@ pub fn setup_cc(ctx: &egui::Context, is_mobile: bool) {
egui_extras::install_image_loaders(ctx);
+ ctx.options_mut(|o| {
+ o.input_options.max_click_duration = 0.4;
+ });
ctx.all_styles_mut(|style| theme::add_custom_style(is_mobile, style));
}