fix: show config name in preview
This commit is contained in:
parent
64b1f5b415
commit
67bacae629
@ -132,7 +132,7 @@ public class PluginUi : IDisposable {
|
|||||||
? this.Plugin.Config.EvaluatorId == Evaluator.RandomId
|
? this.Plugin.Config.EvaluatorId == Evaluator.RandomId
|
||||||
? "Random"
|
? "Random"
|
||||||
: "None"
|
: "None"
|
||||||
: current.Name;
|
: current.ConfigName ?? current.Name;
|
||||||
if (ImGuiHelper.BeginComboVertical("Evaluator", "evaluator", preview, comboSize)) {
|
if (ImGuiHelper.BeginComboVertical("Evaluator", "evaluator", preview, comboSize)) {
|
||||||
using var endCombo = new OnDispose(ImGui.EndCombo);
|
using var endCombo = new OnDispose(ImGui.EndCombo);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user