mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
ImGui: set X scroll in console window as well
Previously only the Y would reset, making you not see the end if you were scrolled too far in the X.
This commit is contained in:
parent
4fa745af85
commit
9e6559a244
3
r5dev/thirdparty/imgui/misc/imgui_logger.cpp
vendored
3
r5dev/thirdparty/imgui/misc/imgui_logger.cpp
vendored
@ -936,9 +936,12 @@ void CTextLogger::Render()
|
||||
|
||||
if (m_bScrollToBottom || (m_bAutoScroll && m_bScrolledToBottom && !m_bScrollToCursor))
|
||||
{
|
||||
ImGui::SetScrollHereX(0.0f);
|
||||
ImGui::SetScrollHereY(1.0f);
|
||||
|
||||
m_bScrollToBottom = false;
|
||||
}
|
||||
|
||||
m_bScrollToCursor = false;
|
||||
|
||||
if (m_bHandleUserInputs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user