Small style tweak
This commit is contained in:
parent
9235238191
commit
afd5006e8b
|
@ -585,10 +585,8 @@ void NCursesUI::check_resize(bool force)
|
|||
putp(tparm(csr, 0, ws.ws_row));
|
||||
|
||||
if (menu)
|
||||
{
|
||||
auto items = std::move(m_menu.items);
|
||||
menu_show(items, m_menu.anchor, m_menu.fg, m_menu.bg, m_menu.style);
|
||||
}
|
||||
menu_show(Vector<DisplayLine>(std::move(m_menu.items)),
|
||||
m_menu.anchor, m_menu.fg, m_menu.bg, m_menu.style);
|
||||
if (info)
|
||||
info_show(m_info.title, m_info.content, m_info.anchor, m_info.face, m_info.style);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user