euv-core 0.53.1

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Minimum non-zero logical scroll delta magnitude processed during scroll chaining.
pub(crate) const SCROLL_DELTA_EPS: f32 = 0.01;

/// Minimum scrollable overflow in logical pixels required for a container to accept scroll along an axis.
pub(crate) const SCROLL_OVERFLOW_EPS: f32 = 0.5;

/// Boundary tolerance in logical pixels for determining whether a scroll container is already at an edge.
pub(crate) const SCROLL_BOUNDARY_EPS: f32 = 0.5;

/// Minimum existing scroll offset in logical pixels required before layout scroll anchoring activates.
pub(crate) const SCROLL_ANCHOR_MIN_OFFSET_DP: f32 = 0.5;

/// Minimum vertical anchor shift or content-height change in logical pixels required to compensate scroll offset.
pub(crate) const SCROLL_ANCHOR_DELTA_EPS: f32 = 0.5;

/// Maximum single-child column wrapper depth traversed when locating a scroll container's visual anchor item.
pub(crate) const SCROLL_ANCHOR_MAX_WRAPPER_DEPTH: usize = 3;