Revert tooltip delay to Duration::ZERO

This commit is contained in:
Héctor Ramón Jiménez 2025-12-01 17:22:54 +01:00
parent b02db5e6f8
commit 2ac62f7512
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 9 additions and 12 deletions

View file

@ -88,9 +88,6 @@ where
/// The default padding of a [`Tooltip`] drawn by this renderer.
const DEFAULT_PADDING: f32 = 5.0;
/// The default delay before a [`Tooltip`] is shown.
const DEFAULT_DELAY: Duration = Duration::from_secs(2);
/// Creates a new [`Tooltip`].
///
/// [`Tooltip`]: struct.Tooltip.html
@ -106,7 +103,7 @@ where
gap: 0.0,
padding: Self::DEFAULT_PADDING,
snap_within_viewport: true,
delay: Self::DEFAULT_DELAY,
delay: Duration::ZERO,
class: Theme::default(),
}
}