From d8ba57f6d45b9467520377ffcc1f453154d77430 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/config_state.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/states/config_state.cpp') diff --git a/src/states/config_state.cpp b/src/states/config_state.cpp index 41fbaad..4573aab 100644 --- a/src/states/config_state.cpp +++ b/src/states/config_state.cpp @@ -216,15 +216,8 @@ namespace Donut ImGui::Separator(); ImGui::Spacing(); - float button_width = (ImGui::GetWindowWidth() - 120) / 6.0f; + float button_width = (ImGui::GetWindowWidth() - 120) / 5.0f; - if (ImGui::Button("Start Simulation", ImVec2(button_width, 35))) - { - apply_settings(); - Application::get().get_state_manager().switch_to_state("Simulation"); - } - - ImGui::SameLine(); if (ImGui::Button("World Builder", ImVec2(button_width, 35))) { apply_settings(); -- cgit v1.3