fix: Make UI slightly more responsive when switching tabs (#3345)
This commit is contained in:
@@ -243,7 +243,7 @@ void TabsGroup::setVisibleTab(PageTab* tab)
|
|||||||
tab->build(form);
|
tab->build(form);
|
||||||
|
|
||||||
header.setTitle(tab->title.c_str());
|
header.setTitle(tab->title.c_str());
|
||||||
invalidate();
|
header.invalidate();
|
||||||
|
|
||||||
#if defined(DEBUG)
|
#if defined(DEBUG)
|
||||||
TRACE("tab time: %d ms", RTOS_GET_MS() - start_ms);
|
TRACE("tab time: %d ms", RTOS_GET_MS() - start_ms);
|
||||||
|
|||||||
Reference in New Issue
Block a user