diff --git a/EndlessClient/HUD/Spells/SpellPanelItem.cs b/EndlessClient/HUD/Spells/SpellPanelItem.cs index 949794071..2fb8fc0cd 100644 --- a/EndlessClient/HUD/Spells/SpellPanelItem.cs +++ b/EndlessClient/HUD/Spells/SpellPanelItem.cs @@ -47,15 +47,14 @@ public SpellPanelItem(ActiveSpellsPanel parent, int slot, IInventorySpell spell, _spellLevelColor.SetData(new[] { Color.White }); _clickTime = DateTime.Now; - - OnMouseEnter += (_, _) => SetIconHover(true); - OnMouseLeave += (_, _) => SetIconHover(false); } protected override void OnUpdateControl(GameTime gameTime) { DoClickAndDragLogic(); + SetIconHover(MouseOver); + if (_lastSlot != DisplaySlot || _lastInventorySpell != InventorySpell) { //36 is full width of level bar