This commit is contained in:
Stephan Dilly 2021-05-27 22:03:09 +02:00
parent 594a1a936d
commit 5304303aa6

View file

@ -101,6 +101,7 @@ macro_rules! any_popup_visible {
macro_rules! draw_popups {
($self:ident, [$($element:ident),+]) => {
fn draw_popups<B: Backend>(& $self, mut f: &mut Frame<B>) -> Result<()>{
//TODO: move the layout part out and feed it into `draw_popups`
let size = Layout::default()
.direction(Direction::Vertical)
.constraints(