Finish all but the styling

This commit is contained in:
Kirill Bulatov
2023-12-20 18:23:08 +02:00
parent 75074c3297
commit 8471a5f80b
3 changed files with 167 additions and 155 deletions
@@ -91,6 +91,14 @@ impl UniformListScrollHandle {
}
}
}
pub fn scroll_top(&self) -> Pixels {
if let Some(state) = &*self.0.borrow() {
-state.scroll_offset.borrow().y
} else {
Pixels::ZERO
}
}
}
impl Styled for UniformList {