Make viewport bounds public
This commit is contained in:
parent
4f066b516b
commit
905c307f0b
1 changed files with 4 additions and 2 deletions
|
|
@ -1099,8 +1099,10 @@ impl Offset {
|
||||||
pub struct Viewport {
|
pub struct Viewport {
|
||||||
offset_x: Offset,
|
offset_x: Offset,
|
||||||
offset_y: Offset,
|
offset_y: Offset,
|
||||||
bounds: Rectangle,
|
/// The viewport bounds of the [`Scrollable`].
|
||||||
content_bounds: Rectangle,
|
pub bounds: Rectangle,
|
||||||
|
/// The content bounds of the [`Scrollable`].
|
||||||
|
pub content_bounds: Rectangle,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Viewport {
|
impl Viewport {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue