Always auto-resize memory allocation info window.

This commit is contained in:
Bartosz Taudul 2019-03-17 16:39:27 +01:00
parent 2f22776249
commit 06421cf5ca

View File

@ -7908,7 +7908,7 @@ void View::DrawCallstackWindow()
void View::DrawMemoryAllocWindow() void View::DrawMemoryAllocWindow()
{ {
bool show = true; bool show = true;
ImGui::Begin( "Memory allocation", &show ); ImGui::Begin( "Memory allocation", &show, ImGuiWindowFlags_AlwaysAutoResize );
const auto& mem = m_worker.GetMemData(); const auto& mem = m_worker.GetMemData();
const auto& ev = mem.data[m_memoryAllocInfoWindow]; const auto& ev = mem.data[m_memoryAllocInfoWindow];