mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 09:14:36 +00:00
Messages window should be scrollable due to thread list.
This commit is contained in:
parent
d3e8fe0133
commit
9f29ddd562
@ -5681,7 +5681,7 @@ void View::DrawOptions()
|
|||||||
void View::DrawMessages()
|
void View::DrawMessages()
|
||||||
{
|
{
|
||||||
ImGui::SetNextWindowSize( ImVec2( 1200, 600 ), ImGuiCond_FirstUseEver );
|
ImGui::SetNextWindowSize( ImVec2( 1200, 600 ), ImGuiCond_FirstUseEver );
|
||||||
ImGui::Begin( "Messages", &m_showMessages, ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoScrollWithMouse );
|
ImGui::Begin( "Messages", &m_showMessages );
|
||||||
|
|
||||||
size_t tsz = 0;
|
size_t tsz = 0;
|
||||||
for( const auto& t : m_threadOrder ) if( !t->messages.empty() ) tsz++;
|
for( const auto& t : m_threadOrder ) if( !t->messages.empty() ) tsz++;
|
||||||
|
Loading…
Reference in New Issue
Block a user