Better logger and project launch arg fixed

This commit is contained in:
Antoine Pilote
2024-08-09 19:11:46 -04:00
parent c48441e0db
commit 0930d4d3f4
5 changed files with 49 additions and 12 deletions

View File

@@ -68,6 +68,7 @@ namespace Nuake {
{
Logger::Log("Creating editor windows", "window", VERBOSE);
filesystem = new FileSystemUI(this);
_WelcomeWindow = new WelcomeWindow(this);
_audioWindow = new AudioWindow();
@@ -2007,9 +2008,9 @@ namespace Nuake {
}
ImGui::PopStyleVar();
if (AutoScroll)
if (AutoScroll && ImGui::GetScrollY() >= ImGui::GetScrollMaxY())
{
ImGui::SetScrollY(ImGui::GetScrollMaxY());
ImGui::SetScrollHereY(1.0f);
}
ImGui::EndTable();