From 6f72049359651155be62846e7d080d7a5e871096 Mon Sep 17 00:00:00 2001 From: hachem Date: Thu, 21 Aug 2025 19:08:34 +0200 Subject: [fix]: proper scene loading --- src/States/ConfigState.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/States/ConfigState.cpp') diff --git a/src/States/ConfigState.cpp b/src/States/ConfigState.cpp index 69bb2f1..c57bced 100644 --- a/src/States/ConfigState.cpp +++ b/src/States/ConfigState.cpp @@ -216,15 +216,8 @@ namespace Donut ImGui::Separator(); ImGui::Spacing(); - float buttonWidth = (ImGui::GetWindowWidth() - 120) / 6.0f; + float buttonWidth = (ImGui::GetWindowWidth() - 120) / 5.0f; - if (ImGui::Button("Start Simulation", ImVec2(buttonWidth, 35))) - { - ApplySettings(); - Application::Get().GetStateManager().SwitchToState("Simulation"); - } - - ImGui::SameLine(); if (ImGui::Button("World Builder", ImVec2(buttonWidth, 35))) { ApplySettings(); -- cgit v1.3