16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-20 07:59:18 +02:00
This commit is contained in:
milek7
2019-08-07 21:47:15 +02:00
parent 8e7eba50c1
commit 6c88a52bbc
3 changed files with 179 additions and 37 deletions

View File

@@ -86,7 +86,7 @@ void ui_log_panel::render_contents()
for (const std::string &s : log_scrollback)
ImGui::TextUnformatted(s.c_str());
if (ImGui::GetScrollY() == ImGui::GetScrollMaxY())
ImGui::SetScrollHere(1.0f);
ImGui::SetScrollHereY(1.0f);
}
ui_layer::~ui_layer() {}