Fix: make ScrollAreaOutput public
This commit is contained in:
parent
c2a37f4bd8
commit
4dd5ffa254
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ pub(crate) mod frame;
|
||||||
pub mod panel;
|
pub mod panel;
|
||||||
pub mod popup;
|
pub mod popup;
|
||||||
pub(crate) mod resize;
|
pub(crate) mod resize;
|
||||||
pub(crate) mod scroll_area;
|
pub mod scroll_area;
|
||||||
pub(crate) mod window;
|
pub(crate) mod window;
|
||||||
|
|
||||||
pub use {
|
pub use {
|
||||||
|
|
|
@ -18,7 +18,7 @@ pub struct State {
|
||||||
|
|
||||||
/// Momentum, used for kinetic scrolling
|
/// Momentum, used for kinetic scrolling
|
||||||
#[cfg_attr(feature = "serde", serde(skip))]
|
#[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.
|
/// Mouse offset relative to the top of the handle when started moving the handle.
|
||||||
scroll_start_offset_from_top_left: [Option<f32>; 2],
|
scroll_start_offset_from_top_left: [Option<f32>; 2],
|
||||||
|
|
Loading…
Reference in a new issue