mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Update imgui_logger.cpp
This commit is contained in:
parent
efe71fbe24
commit
5480d450a2
6
r5dev/thirdparty/imgui/src/imgui_logger.cpp
vendored
6
r5dev/thirdparty/imgui/src/imgui_logger.cpp
vendored
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user