input: halve long press input duration

people were saying long press was too long

Fixes: https://github.com/damus-io/notedeck/issues/981
This commit is contained in:
William Casarin
2025-07-16 18:01:08 -07:00
parent 99646f8ff5
commit db6f02084d

View File

@@ -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));
}