mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-24 21:04:46 -05:00
Stop animation on box change
slot glow can bleed into another box
This commit is contained in:
@@ -153,6 +153,7 @@ public void ResetSlots()
|
||||
int boxoffset = SAV.GetBoxOffset(box);
|
||||
int boxbgval = SAV.GetBoxWallpaper(box);
|
||||
PAN_Box.BackgroundImage = SAV.WallpaperImage(boxbgval);
|
||||
M?.HoverWorker?.Stop();
|
||||
|
||||
int slot = M?.ColorizedBox == box ? M.ColorizedSlot : -1;
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ public sealed class SlotChangeManager : IDisposable
|
||||
public bool GlowHover { get; set; } = true;
|
||||
public Color GlowInitial { get; set; } = Color.White;
|
||||
public Color GlowFinal { get; set; } = Color.LightSkyBlue;
|
||||
private BitmapAnimator HoverWorker;
|
||||
public BitmapAnimator HoverWorker;
|
||||
|
||||
private SaveFile SAV => SE.SAV;
|
||||
public SlotChangeInfo DragInfo;
|
||||
|
||||
Reference in New Issue
Block a user