set tooltip delay to 100ms

so that we don't accidently pop it up all the time

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2024-06-10 06:10:33 -07:00
parent d576082297
commit c5634dac91

View File

@@ -63,7 +63,7 @@ pub fn create_custom_style(ctx: &Context, font_size: fn(&NotedeckTextStyle) -> f
.collect();
style.interaction = Interaction {
tooltip_delay: 0.0,
tooltip_delay: 0.1,
show_tooltips_only_when_still: false,
..Interaction::default()
};