fix: wallet list at hidden state
This commit is contained in:
parent
768f081e5b
commit
f86988eab6
1 changed files with 14 additions and 10 deletions
|
@ -196,7 +196,10 @@ impl WalletsContent {
|
||||||
});
|
});
|
||||||
|
|
||||||
egui::CentralPanel::default()
|
egui::CentralPanel::default()
|
||||||
.frame(egui::Frame {
|
.frame(if list_hidden {
|
||||||
|
egui::Frame::default()
|
||||||
|
} else {
|
||||||
|
egui::Frame {
|
||||||
stroke: View::item_stroke(),
|
stroke: View::item_stroke(),
|
||||||
fill: Colors::fill_deep(),
|
fill: Colors::fill_deep(),
|
||||||
inner_margin: Margin {
|
inner_margin: Margin {
|
||||||
|
@ -206,6 +209,7 @@ impl WalletsContent {
|
||||||
bottom: View::get_bottom_inset() + 4.0,
|
bottom: View::get_bottom_inset() + 4.0,
|
||||||
},
|
},
|
||||||
..Default::default()
|
..Default::default()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
.show_inside(ui, |ui| {
|
.show_inside(ui, |ui| {
|
||||||
// Update ui after 1 sec at single panel mode.
|
// Update ui after 1 sec at single panel mode.
|
||||||
|
|
Loading…
Reference in a new issue