mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-01-27 22:46:01 -05:00
Make cameras list in TUI scrollable on overflow
This commit is contained in:
parent
5a567da652
commit
6acf9ad67f
@ -673,7 +673,8 @@ pub fn top_dialog(db: &Arc<db::Database>, siv: &mut Cursive) {
|
|||||||
.iter()
|
.iter()
|
||||||
.map(|(&id, camera)| (format!("{}: {}", id, camera.short_name), Some(id))),
|
.map(|(&id, camera)| (format!("{}: {}", id, camera.short_name), Some(id))),
|
||||||
)
|
)
|
||||||
.full_width(),
|
.full_width()
|
||||||
|
.scrollable(),
|
||||||
)
|
)
|
||||||
.dismiss_button("Done")
|
.dismiss_button("Done")
|
||||||
.title("Edit cameras"),
|
.title("Edit cameras"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user