mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-25 17:48:50 -05:00
Merge pull request #1119 from PurpleHato/RandoItemTrackerV2
Rando item tracker v2
This commit is contained in:
commit
3509327a5c
@ -1752,6 +1752,14 @@ namespace SohImGui {
|
||||
needs_save = true;
|
||||
customWindows["Item Tracker"].enabled = CVar_GetS32("gItemTrackerEnabled", 0);
|
||||
}
|
||||
InsertPadding();
|
||||
if (ImGui::Button(GetWindowButtonText("Item Tracker Settings", CVar_GetS32("gItemTrackerSettingsEnabled", 0)).c_str(), buttonSize))
|
||||
{
|
||||
bool currentValue = CVar_GetS32("gItemTrackerSettingsEnabled", 0);
|
||||
CVar_SetS32("gItemTrackerSettingsEnabled", !currentValue);
|
||||
needs_save = true;
|
||||
customWindows["Item Tracker Settings"].enabled = CVar_GetS32("gItemTrackerSettingsEnabled", 0);
|
||||
}
|
||||
ImGui::PopStyleVar(3);
|
||||
ImGui::PopStyleColor(1);
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user