Fix bug where timeline popup isn't re-init after changing theme

Bug report: https://twitter.com/autofcontxt/status/1397935596241293318
This commit is contained in:
David Capello 2021-05-28 15:12:19 -03:00
parent 8b5cdde07c
commit b40723e50a

View File

@ -1580,6 +1580,9 @@ void Timeline::onInitTheme(ui::InitThemeEvent& ev)
m_vbar.setStyle(theme->styles.transparentScrollbar());
m_hbar.setThumbStyle(theme->styles.transparentScrollbarThumb());
m_vbar.setThumbStyle(theme->styles.transparentScrollbarThumb());
if (m_confPopup)
m_confPopup->initTheme();
}
void Timeline::onInvalidateRegion(const gfx::Region& region)