Add hover tooltip for Met Location ID peek

This commit is contained in:
Kurt
2026-08-16 16:49:33 -05:00
parent c0b78e6b6a
commit 90b265a8f3

View File

@@ -17,6 +17,7 @@ public sealed partial class PKMEditor : UserControl, IMainEditor
{
public bool IsInitialized { get; private set; }
private readonly ToolTip SpeciesIDTip = new();
private readonly ToolTip MetIDTip = new();
private readonly ToolTip NatureTip = new();
private readonly ToolTip TipPIDInfo = new();
private readonly ToolTip AffixedTip = new();
@@ -1910,6 +1911,7 @@ private void ValidateLocation(object sender, EventArgs e)
Entity.MetLocation = (ushort)WinFormsUtil.GetIndex(CB_MetLocation);
Entity.EggLocation = (ushort)WinFormsUtil.GetIndex(CB_EggLocation);
UpdateLegality();
MetIDTip.SetToolTip(CB_MetLocation, Entity.MetLocation.ToString("000"));
}
// Secondary Windows for Ribbons/Amie/Memories