UI: Avoid looping at end of window content

This commit is contained in:
Luke Street
2026-05-04 11:49:12 -06:00
parent f61bd3e5ad
commit 5121437bcf
3 changed files with 7 additions and 3 deletions
-1
View File
@@ -136,7 +136,6 @@ SelectButton& config_percent_select(Pane& leftPane, Pane& rightPane, ConfigVar<f
} // namespace
SettingsWindow::SettingsWindow() {
add_tab("Graphics", [this](Rml::Element* content) {
auto& leftPane = add_child<Pane>(content, Pane::Type::Controlled);
auto& rightPane = add_child<Pane>(content, Pane::Type::Uncontrolled);