More UI fixes

This commit is contained in:
AlexandreRouma
2022-03-21 21:35:05 +01:00
parent e82e89a87c
commit 842b23b2f4
4 changed files with 8 additions and 9 deletions

View File

@ -928,13 +928,13 @@ private:
}
SmGui::ForceSync();
if (SmGui::Button("Apply", ImVec2(100, 0))) {
if (SmGui::Button(" Apply ")) {
open = false;
valid = true;
}
SmGui::SameLine();
SmGui::ForceSync();
if (SmGui::Button("Cancel", ImVec2(100, 0))) {
if (SmGui::Button("Cancel")) {
open = false;
valid = false;
}