Fix Prelaunch Break-Out With Controller Config (#950)

* Fix Prelaunch Break-Out With Controller Config

Fixes #945

* Formatting
This commit is contained in:
SuperDude88
2026-05-11 23:49:24 -04:00
committed by GitHub
parent b0f1fbee1c
commit 9d5d8dd13a
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -620,7 +620,7 @@ SettingsWindow::SettingsWindow(bool prelaunch) : mPrelaunch(prelaunch) {
leftPane.add_section("Controller");
leftPane.register_control(leftPane.add_button("Configure Controller").on_pressed([this] {
push(std::make_unique<ControllerConfigWindow>());
push(std::make_unique<ControllerConfigWindow>(mPrelaunch));
}),
rightPane, [](Pane& pane) {
pane.clear();