mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
ImGui: reset horizontal scroll position when command has been submitted
Small UX improvement.
This commit is contained in:
parent
79e457fcf8
commit
f9ed276cbd
@ -681,6 +681,8 @@ void CConsole::ProcessCommand(string svCommand)
|
|||||||
m_nHistoryPos = PositionMode_t::kPark;
|
m_nHistoryPos = PositionMode_t::kPark;
|
||||||
|
|
||||||
AddHistory(svCommand.c_str());
|
AddHistory(svCommand.c_str());
|
||||||
|
|
||||||
|
m_Logger.ShouldScrollToStart(true);
|
||||||
m_Logger.ShouldScrollToBottom(true);
|
m_Logger.ShouldScrollToBottom(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user