fix: make message for enable checkbox clearer

This commit is contained in:
Anna 2020-07-30 13:20:30 -04:00
parent 25f6437fec
commit e0583078bc
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0

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();