hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/states/config_state.cpp
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-08-21 19:08:34 +0200
committerhachem <im@hachem.wtf>2025-08-21 19:08:34 +0200
commitd8ba57f6d45b9467520377ffcc1f453154d77430 (patch)
treefe3c68a98f5efecadc8416f757839fae0cb4467d /src/states/config_state.cpp
parent3d13b496b10f9571b5724ee4df51cfd80f513a62 (diff)
fix: proper scene loading
Diffstat (limited to 'src/states/config_state.cpp')
-rw-r--r--src/states/config_state.cpp9
1 files changed, 1 insertions, 8 deletions
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();