Fix: make ScrollAreaOutput public

This commit is contained in:
Emil Ernerfeldt 2022-10-06 09:03:18 +02:00
parent c2a37f4bd8
commit 4dd5ffa254
2 changed files with 2 additions and 2 deletions

View file

@ -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 {

View file

@ -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<f32>; 2],