diff options
| author | Pinapelz <yukais@pinapelz.com> | 2024-09-15 20:33:29 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2024-09-15 20:33:29 -0700 |
| commit | 397ae9c0ba4f7c8540f3f7840fc87c998f91d77c (patch) | |
| tree | 8ee0b76ac50a12152200c7968059ce2bee2535b1 /Malmstone/Windows/ConfigWindow.cs | |
| parent | 8dd8dc166e98a50d35918a2715808b39208aa6d7 (diff) | |
add option to use default target rank as postmatch notification match goal
Diffstat (limited to 'Malmstone/Windows/ConfigWindow.cs')
| -rw-r--r-- | Malmstone/Windows/ConfigWindow.cs | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/Malmstone/Windows/ConfigWindow.cs b/Malmstone/Windows/ConfigWindow.cs index 9b2fdea..66fcbb2 100644 --- a/Malmstone/Windows/ConfigWindow.cs +++ b/Malmstone/Windows/ConfigWindow.cs @@ -16,7 +16,7 @@ public class ConfigWindow : Window, IDisposable Flags = ImGuiWindowFlags.NoCollapse | ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoScrollWithMouse; SizeConstraints = new WindowSizeConstraints { - MinimumSize = new Vector2(540, 380), + MinimumSize = new Vector2(540, 390), MaximumSize = new Vector2(float.MaxValue, float.MaxValue) }; Configuration = Plugin.Configuration; @@ -212,6 +212,21 @@ public class ConfigWindow : Window, IDisposable } ImGui.SameLine(); ImGui.Text("Rival Wings"); + + var OverrideShowMatchesToDefaultTargetGoal = Configuration.OverrideShowMatchesToDefaultTargetGoal; + if(ImGui.Checkbox("##OverrideShowMatchesToDefaultTargetGoal", ref OverrideShowMatchesToDefaultTargetGoal)){ + Configuration.OverrideShowMatchesToDefaultTargetGoal = OverrideShowMatchesToDefaultTargetGoal; + Configuration.Save(); + } + if (ImGui.IsItemHovered()) + { + ImGui.BeginTooltip(); + ImGui.Text("Show remaining matches to the Default Target rank instead of the next rank for postmatch chat notifications" + + "\nThis only works if the Default Target rank is higher than your current rank, otherwise this setting will be ignored"); + ImGui.EndTooltip(); + } + ImGui.SameLine(); + ImGui.Text("Show matches until Default Target Rank instead of next rank"); ImGui.Separator(); |
