fix: make message for enable checkbox clearer

This commit is contained in:
Anna 2020-07-30 13:20:30 -04:00
parent d5083de3f2
commit d2d352b435
1 changed files with 2 additions and 3 deletions

View File

@ -105,13 +105,12 @@ namespace HudSwap {
}
if (ImGui.BeginTabItem("Swaps")) {
ImGui.Text("Disable swaps when editing your HUD.");
bool enabled = this.plugin.config.SwapsEnabled;
if (ImGui.Checkbox("Enabled", ref enabled)) {
if (ImGui.Checkbox("Enable swaps", ref enabled)) {
this.plugin.config.SwapsEnabled = enabled;
this.plugin.config.Save();
}
ImGui.Text("Note: Disable swaps when editing your HUD.");
ImGui.Separator();