Update imgui_logger.cpp

This commit is contained in:
Kawe Mazidjatari 2022-06-26 17:10:52 +02:00
parent efe71fbe24
commit 5480d450a2

View File

@ -611,13 +611,9 @@ void CTextLogger::HandleMouseInputs(bool bHoveredScrollbar, bool bActiveScrollba
if (ImGui::IsMouseClicked(0) && ImGui::IsWindowHovered())
{
m_bWithinLoggingRect = true;
}
if (ImGui::IsMouseReleased(0))
{
else if (ImGui::IsMouseReleased(0))
m_bWithinLoggingRect = false;
}
if (!bHoveredScrollbar && !bActiveScrollbar && m_bWithinLoggingRect)
{