Bagnon RequiredLevel

Bagnon RequiredLevel

127k Downloads

Tooltip flickering

LudiusMaximus opened this issue ยท 1 comments

commented

When you compare an item with the currently equipped one (shift + mouse over), the tooltip of the equipped item flickers. This is somehow caused by Bagnon RequiredLevel...

commented

The flickering occurs at every BAG_UPDATE_COOLDOWN event, apparently because I set my scannerTooltip whenever this occurs.
So far only noticeble with Frost DK and "Cold Heart", because this triggers the BAG_UPDATE_COOLDOWN every 2 seconds.

  -- Minimal working example:
  hooksecurefunc(Bagnon.ItemSlot, "UpdateCooldown",
    function(self)

      scannerTooltip:SetOwner(self, "ANCHOR_NONE")
      scannerTooltip:SetBagItem(0, 0)

    end
  )