notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

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:
Mcrates/notedeck_chrome/src/setup.rs | 3+++
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)); }