chore: hide the mode selection for now
This commit is contained in:
parent
7a27c5c117
commit
867203a86c
20
PluginUi.cs
20
PluginUi.cs
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user