ye
This commit is contained in:
parent
f2987938c2
commit
b47e73961a
|
@ -122,15 +122,13 @@ internal class Settings : ITab {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ImGui.SetNextItemWidth(-1);
|
||||||
if (ImGui.InputTextWithHint("##filter", "Search...", ref this._filter, 128)) {
|
if (ImGui.InputTextWithHint("##filter", "Search...", ref this._filter, 128)) {
|
||||||
this.FilterTerritories(this._filter);
|
this.FilterTerritories(this._filter);
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui.Spacing();
|
ImGui.Spacing();
|
||||||
ImGui.TextUnformatted("Ban list");
|
ImGui.TextUnformatted("Ban list (click to ban or unban)");
|
||||||
ImGui.TreePush();
|
|
||||||
ImGui.TextUnformatted("Click to ban or unban.");
|
|
||||||
ImGui.TreePop();
|
|
||||||
|
|
||||||
if (ImGui.BeginChild("##ban-list", new Vector2(-1, -1), true)) {
|
if (ImGui.BeginChild("##ban-list", new Vector2(-1, -1), true)) {
|
||||||
var toAdd = -1L;
|
var toAdd = -1L;
|
||||||
|
@ -160,6 +158,7 @@ internal class Settings : ITab {
|
||||||
|
|
||||||
if (toRemove > -1 || toAdd > -1) {
|
if (toRemove > -1 || toAdd > -1) {
|
||||||
this.Plugin.SaveConfig();
|
this.Plugin.SaveConfig();
|
||||||
|
this.FilterTerritories(this._filter);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user