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:
@@ -45,6 +45,9 @@ pub fn setup_cc(ctx: &egui::Context, is_mobile: bool) {
|
|||||||
|
|
||||||
egui_extras::install_image_loaders(ctx);
|
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));
|
ctx.all_styles_mut(|style| theme::add_custom_style(is_mobile, style));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user