diff --git a/crates/egui/src/containers/mod.rs b/crates/egui/src/containers/mod.rs index 0231c20e..53e8e7e2 100644 --- a/crates/egui/src/containers/mod.rs +++ b/crates/egui/src/containers/mod.rs @@ -9,7 +9,7 @@ pub(crate) mod frame; pub mod panel; pub mod popup; pub(crate) mod resize; -pub(crate) mod scroll_area; +pub mod scroll_area; pub(crate) mod window; pub use { diff --git a/crates/egui/src/containers/scroll_area.rs b/crates/egui/src/containers/scroll_area.rs index f35e8021..4fdc872e 100644 --- a/crates/egui/src/containers/scroll_area.rs +++ b/crates/egui/src/containers/scroll_area.rs @@ -18,7 +18,7 @@ pub struct State { /// Momentum, used for kinetic scrolling #[cfg_attr(feature = "serde", serde(skip))] - pub vel: Vec2, + vel: Vec2, /// Mouse offset relative to the top of the handle when started moving the handle. scroll_start_offset_from_top_left: [Option; 2],