diff options
| author | louist103 <35883445+louist103@users.noreply.github.com> | 2025-06-28 03:50:36 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-27 21:50:36 -0600 |
| commit | eb7d1f00a810d4c1e2e4323e4fd628ad01739fb5 (patch) | |
| tree | a55666e843403fc6d1200dd39b46abf2723a9398 /mm/2s2h/DeveloperTools/SaveEditor.cpp | |
| parent | 620859447c6bddcdf1dded50a7a4110f825536bf (diff) | |
Add vector support to comboboxes (#1159)
* Add vector support to comboboxes
* Move vectors out of header
* Format
* Use variant
---------
Co-authored-by: balloondude2 <55861555+balloondude2@users.noreply.github.com>
Diffstat (limited to 'mm/2s2h/DeveloperTools/SaveEditor.cpp')
| -rw-r--r-- | mm/2s2h/DeveloperTools/SaveEditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/2s2h/DeveloperTools/SaveEditor.cpp b/mm/2s2h/DeveloperTools/SaveEditor.cpp index ca4365b0f..e9dc59cfc 100644 --- a/mm/2s2h/DeveloperTools/SaveEditor.cpp +++ b/mm/2s2h/DeveloperTools/SaveEditor.cpp @@ -1629,7 +1629,7 @@ void DrawFlagsTab() { static int16_t selectedScene = 0; if (selectedFlagSection == 5 || selectedFlagSection == 6) { ImGui::SameLine(); - UIWidgets::Combobox("Scene", &selectedScene, sceneList, + UIWidgets::Combobox("Scene", &selectedScene, &sceneList, { .alignment = UIWidgets::ComponentAlignment::Left, .labelPosition = UIWidgets::LabelPosition::None, @@ -2133,7 +2133,7 @@ void DrawRandoTab() { : UIWidgets::ColorValues.at(UIWidgets::Colors::White), randoStaticCheck.name); ImGui::TableNextColumn(); - UIWidgets::Combobox((hiddenName + "reward").c_str(), &randoSaveCheck.randoItemId, randoItemIdComboboxMap, + UIWidgets::Combobox((hiddenName + "reward").c_str(), &randoSaveCheck.randoItemId, &randoItemIdComboboxMap, { .labelPosition = UIWidgets::LabelPosition::None }); } |
