diff --git a/PKHeX.WinForms/Controls/SAV Editor/SlotChangeManager.cs b/PKHeX.WinForms/Controls/SAV Editor/SlotChangeManager.cs index 69611e8e4..eff5bd30c 100644 --- a/PKHeX.WinForms/Controls/SAV Editor/SlotChangeManager.cs +++ b/PKHeX.WinForms/Controls/SAV Editor/SlotChangeManager.cs @@ -29,7 +29,7 @@ public sealed class SlotChangeManager : IDisposable public readonly List Boxes = new List(); public readonly List> OtherSlots = new List>(); public event DragEventHandler RequestExternalDragDrop; - private readonly ToolTip ShowSet = new ToolTip(); + private readonly ToolTip ShowSet = new ToolTip {InitialDelay = 200, IsBalloon = true}; public SlotChangeManager(SAVEditor se) { @@ -51,7 +51,17 @@ public void MouseEnter(object sender, EventArgs e) OriginalBackground = pb.BackgroundImage; pb.BackgroundImage = CurrentBackground = pb.BackgroundImage == null ? Resources.slotHover : ImageUtil.LayerImage(pb.BackgroundImage, Resources.slotHover, 0, 0, 1); if (!DragActive) + { SetCursor(Cursors.Hand, sender); + } + else + { + var view = WinFormsUtil.FindFirstControlOfType>(pb); + var data = view.GetSlotData(pb); + var pk = SAV.GetStoredSlot(data.Offset); + if (pk.Species > 0 && Control.ModifierKeys.HasFlag(Keys.Control)) + ShowSet.SetToolTip(pb, pk.ShowdownText); + } } public void MouseLeave(object sender, EventArgs e) {