Skip to content

Commit

Permalink
Fix moving spell while scrolling in panel (no longer hides dragging i…
Browse files Browse the repository at this point in the history
…con)
  • Loading branch information
ethanmoffat committed Apr 18, 2022
1 parent 914b138 commit 18840b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion EndlessClient/HUD/Panels/ActiveSpellsPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,9 @@ private void UpdateSpellItemsForScroll()
var itemsToHide = _childItems.Where(x => x.Slot < firstValidSlot || x.Slot >= lastValidSlot).ToList();
foreach (var item in itemsToHide)
{
((XNAControl)item).Visible = false;
if (!item.IsBeingDragged)
((XNAControl)item).Visible = false;

item.DisplaySlot = GetDisplaySlotFromSlot(item.Slot);
}

Expand Down

0 comments on commit 18840b8

Please sign in to comment.