preview: add scroll to profile pic demo
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -174,6 +174,7 @@ mod preview {
|
||||
|
||||
impl View for ProfilePicPreview {
|
||||
fn ui(&mut self, ui: &mut egui::Ui) {
|
||||
egui::ScrollArea::both().show(ui, |ui| {
|
||||
ui.horizontal_wrapped(|ui| {
|
||||
let txn = Transaction::new(&self.ndb).unwrap();
|
||||
for key in &self.keys {
|
||||
@@ -203,6 +204,7 @@ mod preview {
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user