Implemented palettes for mode markers

This commit is contained in:
YuSanka 2022-12-05 17:01:56 +01:00
parent 12ec008950
commit 033af199a3
18 changed files with 417 additions and 37 deletions

View file

@ -892,6 +892,16 @@ void Tab::update_mode()
update_changed_tree_ui();
}
void Tab::update_mode_markers()
{
// update mode for ModeSizer
if (m_mode_sizer)
m_mode_sizer->update_mode_markers();
if (m_active_page)
m_active_page->refresh();
}
void Tab::update_visibility()
{
Freeze(); // There is needed Freeze/Thaw to avoid a flashing after Show/Layout