fix: use floats for pointer events (#4708)

* fix: use f64 for PointerInteraction

* make clippy happy on beta

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
Timur GainullinandJonathan Kelley authored and GitHub committed 2025-10-03 19:39:00 -07:00
1 parent 12fab0f9f7
commit f48aec7eff
11 files changed
+51 -91

No files matched your search

+2 -6
View File
@@ -22,19 +22,15 @@ type RwLockStorageEntryMut = RwLockWriteGuard<'static, StorageEntry<RwLockStorag
type AnyRef = MappedRwLockReadGuard<'static, Box<dyn Any + Send + Sync + 'static>>;
type AnyRefMut = MappedRwLockWriteGuard<'static, Box<dyn Any + Send + Sync + 'static>>;
#[derive(Default)]
pub(crate) enum RwLockStorageEntryData {
Reference(GenerationalPointer<SyncStorage>),
Rc(RcStorageEntry<Box<dyn Any + Send + Sync>>),
Data(Box<dyn Any + Send + Sync>),
#[default]
Empty,
}
impl Default for RwLockStorageEntryData {
fn default() -> Self {
Self::Empty
}
}
impl Debug for RwLockStorageEntryData {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {