chore: hide the mode selection for now

This commit is contained in:
Anna 2024-07-25 16:10:53 -04:00
parent 7a27c5c117
commit 867203a86c
Signed by: anna
GPG Key ID: D0943384CD9F87D1

View File

@ -30,17 +30,17 @@ public class PluginUi : IDisposable {
var anyChanged = false;
ImGui.TextUnformatted("Meter mode");
if (ImGui.BeginCombo("##mode", Enum.GetName(this.Plugin.Config.Mode))) {
using var endCombo = new OnDispose(ImGui.EndCombo);
// ImGui.TextUnformatted("Meter mode");
// if (ImGui.BeginCombo("##mode", Enum.GetName(this.Plugin.Config.Mode))) {
// using var endCombo = new OnDispose(ImGui.EndCombo);
foreach (var mode in Enum.GetValues<MeterMode>()) {
if (ImGui.Selectable(Enum.GetName(mode), mode == this.Plugin.Config.Mode)) {
anyChanged = true;
this.Plugin.Config.Mode = mode;
}
}
}
// foreach (var mode in Enum.GetValues<MeterMode>()) {
// if (ImGui.Selectable(Enum.GetName(mode), mode == this.Plugin.Config.Mode)) {
// anyChanged = true;
// this.Plugin.Config.Mode = mode;
// }
// }
// }
anyChanged |= ImGui.Checkbox("Use DPS bars behind party list", ref this.Plugin.Config.UseDpsBar);
var barAlpha = this.Plugin.Config.BarAlpha * 100;