This commit is contained in:
Anna 2022-09-09 01:54:17 -04:00
parent f2987938c2
commit b47e73961a
1 changed files with 3 additions and 4 deletions

View File

@ -122,15 +122,13 @@ internal class Settings : ITab {
return;
}
ImGui.SetNextItemWidth(-1);
if (ImGui.InputTextWithHint("##filter", "Search...", ref this._filter, 128)) {
this.FilterTerritories(this._filter);
}
ImGui.Spacing();
ImGui.TextUnformatted("Ban list");
ImGui.TreePush();
ImGui.TextUnformatted("Click to ban or unban.");
ImGui.TreePop();
ImGui.TextUnformatted("Ban list (click to ban or unban)");
if (ImGui.BeginChild("##ban-list", new Vector2(-1, -1), true)) {
var toAdd = -1L;
@ -160,6 +158,7 @@ internal class Settings : ITab {
if (toRemove > -1 || toAdd > -1) {
this.Plugin.SaveConfig();
this.FilterTerritories(this._filter);
}
}