More GUI work

This commit is contained in:
irisz64
2025-05-23 15:57:49 +02:00
parent 3b28de6afc
commit 2152a73cce
5 changed files with 27 additions and 5 deletions

View File

@@ -68,7 +68,8 @@ SettingsWindow::SettingsWindow() : settings{JSONOpenOrCreate("resources/settings
ImGui::SameLine();
if(cancel.render()) {
if(ImGui::Button("Cancel")) {
popup.setOpened(false);
ImGui::CloseCurrentPopup();
}
});