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
@@ -21,10 +21,12 @@ thread_local! {
static UNSYNC_RUNTIME: RefCell<Vec<&'static UnsyncStorage>> = const { RefCell::new(Vec::new()) };
}
#[derive(Default)]
pub(crate) enum RefCellStorageEntryData {
Reference(GenerationalPointer<UnsyncStorage>),
Rc(RcStorageEntry<Box<dyn Any>>),
Data(Box<dyn Any>),
#[default]
Empty,
}
@@ -39,12 +41,6 @@ impl Debug for RefCellStorageEntryData {
}
}
impl Default for RefCellStorageEntryData {
fn default() -> Self {
Self::Empty
}
}
/// A unsync storage. This is the default storage type.
#[derive(Default)]
pub struct UnsyncStorage {