diff options
| author | hachem <im@hachem.wtf> | 2025-08-21 19:08:34 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-21 19:08:34 +0200 |
| commit | 6f72049359651155be62846e7d080d7a5e871096 (patch) | |
| tree | 2d07767c82264c0a126708176c9939806c9a7171 /src/States/ConfigState.cpp | |
| parent | 1bd39d11ff76e61bc3cc8b58286092a84997cc20 (diff) | |
[fix]: proper scene loading
Diffstat (limited to 'src/States/ConfigState.cpp')
| -rw-r--r-- | src/States/ConfigState.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
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(); |
